Add initial cloud commands + refactors to common
This commit is contained in:
parent
f21306021d
commit
6545d7ffac
89 changed files with 1959 additions and 1893 deletions
26
Bukkit/src/main/resources/bukkit-commands.json
Normal file
26
Bukkit/src/main/resources/bukkit-commands.json
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"serverutils": {
|
||||
"subcommands": {
|
||||
"enableplugin": {
|
||||
"main": "enableplugin",
|
||||
"aliases": ["ep"],
|
||||
"permission": "serverutils.enableplugin",
|
||||
"description": "Enables the specified plugin.",
|
||||
"display-in-help": true
|
||||
},
|
||||
"disableplugin": {
|
||||
"main": "disableplugin",
|
||||
"aliases": ["dp"],
|
||||
"permission": "serverutils.disableplugin",
|
||||
"description": "Disables the specified plugin.",
|
||||
"display-in-help": true
|
||||
},
|
||||
"reloadconfig": {
|
||||
"main": "reloadconfig",
|
||||
"aliases": ["rc"],
|
||||
"permission": "serverutils.reloadconfig",
|
||||
"description": "Reloads particular server configurations."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
6
Bukkit/src/main/resources/bukkit-config.json
Normal file
6
Bukkit/src/main/resources/bukkit-config.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"settings": {
|
||||
"disable-plugins-command": false
|
||||
},
|
||||
"disabled-commands": []
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
settings:
|
||||
disable-plugins-command: false
|
||||
check-updates-boot: true
|
||||
check-updates-login: false
|
||||
download-updates-boot: false
|
||||
download-updates-login: false
|
||||
install-updates-boot: false
|
||||
install-updates-login: false
|
||||
|
||||
disabled-commands: []
|
||||
8
Bukkit/src/main/resources/bukkit-messages.json
Normal file
8
Bukkit/src/main/resources/bukkit-messages.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"serverutils": {
|
||||
"reloadconfig": {
|
||||
"not_exists": "&cConfig &4%what% &cdoes not exist.",
|
||||
"not_supported": "&cConfig &4%what% &cis not supported on your Minecraft version."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
serverutils:
|
||||
success: "&3Successfully %action%ed &b%what%&3!"
|
||||
warning: "&3Successfully %action%ed &b%what%&3, but with warnings."
|
||||
error: "&cAn error occurred while %action%ing &4%what%&c, please check the console!"
|
||||
not_exists: "&cAn error occurred while %action%ing &4%what%&c, plugin does not exist!"
|
||||
not_enabled: "&cAn error occurred while %action%ing &4%what%&c, plugin is not enabled!"
|
||||
already_loaded: "&cAn error occurred while %action%ing &4%what%&c, plugin is already loaded!"
|
||||
already_enabled: "&cAn error occurred while %action%ing &4%what%&c, plugin is already enabled!"
|
||||
already_disabled: "&cAn error occurred while %action%ing &4%what%&c, plugin is already disabled!"
|
||||
file_deleted: "&cAccessing the jar file while %action%ing &4%what%&c went wrong, plugin has been deleted!"
|
||||
invalid_description: "&cAn error occurred while %action%ing &4%what%&c, plugin doesn't have a valid description!"
|
||||
invalid_plugin: "&cAn error occurred while %action%ing &4%what%&c, plugin is invalid!"
|
||||
unknown_dependency: "&cAn error occurred while %action%ing &4%what%&c, plugin has a dependeny which is not loaded: &4%arg%"
|
||||
watcher:
|
||||
start: "&3Started watching &b%what%&3!"
|
||||
change: "&3Change detected for plugin &b%what%&3, reloading now..."
|
||||
stopped: "&3Stopped watching &b%what%&3!"
|
||||
not_watching: "&cWe aren't watching that plugin!"
|
||||
update:
|
||||
available: |-
|
||||
&8&m------------=&r&8[ &b&lServerUtils Update&r &8]&m=--------------
|
||||
&3Current version: &b%old%
|
||||
&3New version: &b%new%
|
||||
&3Release info: &b%info%
|
||||
&8&m-------------------------------------------------
|
||||
downloading: |-
|
||||
&8&m------------=&r&8[ &b&lServerUtils Update&r &8]&m=--------------
|
||||
&3A new version of ServerUtils will be downloaded and installed after a restart!
|
||||
&3Current version: &b%old%
|
||||
&3New version: &b%new%
|
||||
&3Release info: &b%info%
|
||||
&8&m-------------------------------------------------
|
||||
download_failed: "&cFailed to download version %new% of ServerUtils. Please update manually."
|
||||
download_success: "&3ServerUtils has been downloaded and will be installed on the next restart."
|
||||
help:
|
||||
header: "&8&m-------------=&r&8[ &b&lServerUtils Help&r &8]&m=---------------"
|
||||
format: "&8/&3%command%&b%subcommand% &f(&7%help%&f)"
|
||||
footer: "&8&m-------------------------------------------------"
|
||||
plugins:
|
||||
header: "&8&m------------=&r&8[ &b&lServerUtils Plugins&r &8]&m=-------------"
|
||||
prefix: " &3Plugins &8(&a%count%&8)&b: "
|
||||
format: "&3%plugin%"
|
||||
format_disabled: "&c%plugin%"
|
||||
seperator: "&b, "
|
||||
last_seperator: " &band "
|
||||
version: " &8(&a%version%&8)"
|
||||
footer: "&8&m-------------------------------------------------"
|
||||
plugininfo:
|
||||
header: "&8&m-----------=&r&8[ &b&lServerUtils PluginInfo&r &8]&m=-----------"
|
||||
format: " &3%key%&8: &b%value%"
|
||||
list_format: "&b%value%"
|
||||
seperator: "&8, "
|
||||
last_seperator: " &8and "
|
||||
footer: "&8&m-------------------------------------------------"
|
||||
commandinfo:
|
||||
header: "&8&m-----------=&r&8[ &b&lServerUtils CommandInfo&r &8]&m=----------"
|
||||
format: " &3%key%&8: &b%value%"
|
||||
list_format: "&b%value%"
|
||||
seperator: "&8, "
|
||||
last_seperator: " &8and "
|
||||
footer: "&8&m-------------------------------------------------"
|
||||
not_exists: "&cThat command is not a valid registered command."
|
||||
|
|
@ -4,10 +4,3 @@ version: ${version}
|
|||
author: FrankHeijden
|
||||
api-version: '1.13'
|
||||
softdepend: [ServerUtilsUpdater]
|
||||
|
||||
commands:
|
||||
serverutils:
|
||||
usage: "/<command>"
|
||||
aliases:
|
||||
- "su"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue