Advertisement
Guest User

Untitled

a guest
Jun 8th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.19 KB | None | 0 0
  1. Welcome to Owncloud!
  2. This software allows you to make a cloud for all
  3. your things. You can extend it with plugins. This
  4. cloud is a multi user cloud.You can create user
  5. if you make a file in /owncloud/user that has the
  6. name of your user. The content of the file is
  7. the passwort of the user.
  8.  
  9. Standard Login:
  10. User: root
  11. Password: root
  12.  
  13. How to code a plugin:
  14. Create a file in /owncloud/plugins. A plugin is a
  15. normal programm. Owncloud run a plugin with Arguments,
  16. that the client send. If you want to load things
  17. from Owncloud, use os.loadAPI("/owncloud/owncloud API")
  18. Now you have the following Variables of Owncloud:
  19. stuff: A additional Variable, that can send Clients
  20. user: The name of the user
  21. password: The password of the user
  22. id: The id of the computer from the user
  23. At the end of your plugin, run Owncloud with shell.run("/owncloud/owncloud")
  24.  
  25. How to code a client:
  26. A client must send the following things to the
  27. Owncloud Server:
  28. The name of the plugin you wnat to run with args
  29. A additonal Variable (if no neded, you can send anything you want)
  30. The name of the user
  31. The password of the user
  32. If all that correct, Owncloud will run the plugin
  33. with your Args.
  34.  
  35. Made by Wilma456
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement