Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- message "<----------Epic Portals---------->" to console
- message "Welcome to portal manager!" to console
- message "All config settings will be prepared." to console
- message "<----------Epic Portals---------->" to console
- if folder "plugins/Portal manager" doesn't exists:
- create folder "plugins/Portal manager"
- if file "plugins/Portal manager/Config.yml" doesn't exists:
- create file "plugins/Portal manager/config.yml"
- write "You can change the prefix to whatever you want." at line 1 to file "plugins/Portal Manager/config.yml"
- wf "Prefix: <gold>[<yellow>Portal manager<gold>]" to "plugins/Portal Manager/Config.yml"
- 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"
- wf "Check-time: 0.15" to "plugins/Portal Manager/Config.yml"
- write "Here you can change the message when the player has no permission." at line 5 to file "plugins/Portal Manager/config.yml"
- wf "no-permission-message: &cYou don't have acces to do that!" to "plugins/Portal Manager/Config.yml"
- set {prefix} to colored value "Prefix" get of "plugins/Portal manager/Config.yml"
- set {checktime} to value "Check-time" get of "plugins/Portal Manager/Config.yml"
- 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