Guest User

Untitled

a guest
Apr 18th, 2020
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. on load:
  2. message "<----------Epic Portals---------->" to console
  3. message "Welcome to portal manager!" to console
  4. message "All config settings will be prepared." to console
  5. message "<----------Epic Portals---------->" to console
  6. if folder "plugins/Portal manager" doesn't exists:
  7. create folder "plugins/Portal manager"
  8. if file "plugins/Portal manager/Config.yml" doesn't exists:
  9. create file "plugins/Portal manager/config.yml"
  10. write "You can change the prefix to whatever you want." at line 1 to file "plugins/Portal Manager/config.yml"
  11. wf "Prefix: <gold>[<yellow>Portal manager<gold>]" to "plugins/Portal Manager/Config.yml"
  12. write "You can change the amount of time between the checks. That means the larger the number the less ram it will cost the server." at line 3 to file "plugins/Portal Manager/config.yml"
  13. wf "Check-time: 0.15" to "plugins/Portal Manager/Config.yml"
  14. write "Here you can change the message when the player has no permission." at line 5 to file "plugins/Portal Manager/config.yml"
  15. wf "no-permission-message: &cYou don't have acces to do that!" to "plugins/Portal Manager/Config.yml"
  16. set {prefix} to colored value "Prefix" get of "plugins/Portal manager/Config.yml"
  17. set {checktime} to value "Check-time" get of "plugins/Portal Manager/Config.yml"
  18. set {no-permission-Message} to value "no-permission-message" get of "plugins/Portal Manager/Config.yml"
Advertisement
Add Comment
Please, Sign In to add comment