* Refactored some code
* Redone all messages
+ Made all messages(except recipe section configurable in config)
Note: If you did not alter the configuration files let it regenerate a fresh new config.yml.
Else add the following:
Code (YAML):
#Configurable messages brought to you by Scorpion(scorpionvssub)
#Messages now support new lines via \n
config_reloaded
:
"Config reloaded!"
no_perms
:
"&cYou don't have permission to use this!"
no_perms_cmd
:
"&cYou don't have permission to use this command!"
no_perms2
:
"&cYou don't have permission to use this here!"
cant_release
:
"&cYou can't release that!"
cant_catch
:
"&cYou can't catch that!"
safarinet_broken
:
"&cThis SafariNet is broken."
cant_catch_zhorse
:
"&cSorry, but you can't catch ZHorses!"
cant_catch_mypet
:
"&cSorry, but you can't catch MyPets!"
cant_catch_tamed
:
"&cYou can't catch tamed animals!"
catch-failed
:
"&cYou failed to catch %s!"
catch-failed
:
"&cYou failed to catch {0}!"
syntax
:
"&cSyntax error: /safarinet give (player) (singleuse/reusable) [amount]"
invalid-eggs
: '&cInvalid eggs found. Valid
:
(singleuse/reusable
)'
#{0} = amount {1} = egg type {2} = player name
egg-given
: '&aGiven
{0
}
{1
} eggs to
{2
}'
reloaded
: '&aSuccessfully reloaded the configuration file!'
no-number
: '&cMust be a valid number!'
not-online
: '&cThis player is not online.'
recipe-syntax
: '&c/safarinet recipe
(singleuse/reusable
)'
egg-broken
: '&cThis egg appears to be broken :
('
#This is the help file.
#Its list based e.x:
#Help:
#- '/sn give....'
#- 'To capture an egg right click a mob while holding it.'
Help
:
- '&a/sn reload &c- Reloads the plugin'
- '&a/sn recipe &c- Shows recipe''s for eggs
(if loaded
)'
- '&a/sn give
(player
)
(egg
)
[amount
] &c- Give a player an egg'