Add permission nodes to every command & fix them up in general

This commit is contained in:
Business Goose 2022-03-29 00:49:09 +01:00
parent 01e12a617b
commit 33711f6f8d
No known key found for this signature in database
GPG Key ID: 77DCA801362E9645
1 changed files with 111 additions and 5 deletions

View File

@ -9,332 +9,438 @@ commands:
setl:
description: 'Sets everyone''s Worldedit block modification limit to 500.'
usage: '/<command>'
permission: tfm.command.setl
radar:
description: 'Shows nearby people sorted by distance.'
usage: '/<command> [range]'
permission: tfm.command.radar
tfm:
description: 'Shows information about TotalFreedomMod or reloads it'
usage: '/<command> [reload]'
permission: tfm.command.tfm
mp:
description: 'Purge all mobs in all worlds.'
usage: '/<command>'
permission: tfm.command.mp
jumppads:
description: 'Manage jumppads'
usage: '/<command> <on | off | info | sideways <on | off> | strength <strength (1-10)>>'
aliases: [launchpads, jp]
permission: tfm.command.jumppads
qop:
description: 'Quick Op - op someone based on a partial name.'
usage: '/<command> <partialname>'
permission: tfm.command.quickop
doom:
description: 'For the bad Super Admins'
usage: '/<command> <playername>'
permission: tfm.command.doom
fuckoff:
description: 'You''ll never even see it coming.'
usage: '/<command>'
permission: tfm.command.fuckoff
wipeuserdata:
description: 'Removes essentials playerdata'
usage: '/<command>'
permission: tfm.command.wipeuserdata
wildcard:
description: 'Run any command on all users, username placeholder = ?.'
usage: '/<command> [fluff] ? [fluff] ?'
permission: tfm.command.wildcard
nf:
description: 'NickFilter: Prefix any command with this command to replace nicknames in that command with real names. Nicknames should be prefixed with a !.'
usage: '/<command> <other_command> !<playernick>'
permission: tfm.command.nickfilter
landmine:
description: 'Set a landmine trap.'
usage: '/<command>'
permission: tfm.command.landmine
moblimiter:
description: 'Control mob rezzing parameters.'
usage: '/<command> <on|off|setmax <count>|dragon|giant|ghast|slime>'
permission: tfm.command.moblimiter
flatlands:
description: 'Goto the flatlands.'
usage: '/<command>'
permission: tfm.command.flatlands
findip:
description: 'Shows all IPs registered to a player'
usage: '/<command> <player>'
permission: tfm.command.findip
cage:
description: 'Place a cage around someone.'
usage: '/<command> <purge | off | <partialname> [outermaterial] [innermaterial]>'
permission: tfm.command.cage
expel:
description: 'Push people away from you.'
usage: '/<command> [radius] [strength]'
permission: tfm.command.expel
list:
description: 'Lists the real names of all online players.'
usage: '/<command> [-a | -i]'
aliases: 'who'
permission: tfm.command.list
invis:
description: 'Shows (optionally smites) invisisible players'
usage: '/<command> (smite)'
permission: tfm.command.invis
onlinemode:
description: 'Switch server online-mode on and off.'
usage: '/<command> <on | off>'
permission: tfm.command.onlinemode
gcmd:
description: 'Send a command as someone else.'
usage: '/<command> <fromname> <outcommand>'
permission: tfm.command.gcmd
spectator:
description: 'Quickly change your own gamemode to spectator, or define someone''s username to change theirs.'
usage: '/<command> [partialname]'
aliases: 'gmsp'
permission: tfm.command.spectator
potion:
description: 'Manipulate potion effects. Duration is measured in server ticks (~20 ticks per second).'
usage: '/<command> <list | clear [target name] | add <type> <duration> <amplifier> [target name]>'
permission: tfm.command.potion
deop:
description: 'Deop a player.'
usage: '/<command> <playername>'
permission: tfm.command.deop
nicknyan:
description: 'Essentials Interface Command - Nyanify your nickname.'
usage: '/<command> <<nick> | off>'
permission: tfm.command.nicknyan
rank:
description: 'Shows your rank.'
usage: '/<command>'
permission: tfm.command.rank
nether:
description: 'Goto the nether.'
usage: '/<command>'
permission: tfm.command.nether
ops:
description: 'Manager operators'
description: 'Manage operators'
usage: '/<command> <count | purge>'
permission: tfm.command.operators
setlevel:
description: 'Sets your expierence level.'
description: 'Sets your experience level.'
usage: '/<command> [level]'
permission: tfm.command.experience
trail:
description: 'Pretty rainbow trails.'
usage: '/<command> [off]'
permission: tfm.command.trail
opme:
description: 'Automatically ops user.'
usage: '/<command>'
permission: tfm.command.opme
adminworld:
description: 'Go to the AdminWorld.'
usage: '/<command> [guest < list | purge | add <player> | remove <player> > | time <morning | noon | evening | night> | weather <off | on | storm>]'
permission: tfm.command.adminworld
health:
description: 'View ticks-per-second'
usage: '/<command>'
permission: tfm.command.health
plugincontrol:
description: 'Manage plugins'
usage: '/<command> <<enable | disable | reload> <pluginname>> | list>'
aliases: 'plc'
permission: tfm.command.plugincontrol
deafen:
description: 'Make some noise.'
usage: '/<command>'
permission: tfm.command.deafen
tossmob:
description: 'Throw a mob in the direction you are facing when you left click with a stick.'
usage: '/<command> <mobtype [speed] | off | list>'
permission: tfm.command.tossmob
cmdspy:
description: 'Spy on commands'
usage: '/<command>'
aliases: 'commandspy'
permission: tfm.command.cmdspy
tempban:
description: 'Temporarily ban someone.'
usage: '/<command> [playername] [duration] [reason]'
permission: tfm.command.tempban
glist:
description: 'Ban/Unban any player, even those who are not logged in anymore.'
usage: '/<command> <purge | <ban | unban> <username>>'
permission: tfm.command.glist
gtfo:
description: 'Makes someone GTFO (deop and ip ban by username).'
usage: '/<command> <partialname>'
permission: tfm.command.gtfo
rd:
description: 'Remove various server entities that may cause lag, such as dropped items, minecarts, and boats.'
usage: '/<command> <carts>'
permission: tfm.command.removeentities
setlever:
description: 'Set the on/off state of the lever at position x, y, z in world ''worldname''.'
usage: '/<command> <x> <y> <z> <worldname> <on|off>'
permission: tfm.command.setlever
localspawn:
description: 'Teleport to the spawn point for the current world.'
usage: '/<command>'
aliases: [worldspawn, gotospawn]
permission: tfm.command.localspawn
tag:
description: 'Sets yourself a prefix'
usage: '/<command> <set <tag..> | off | clear <player> | clearall>'
permission: tfm.command.tag
ender:
description: 'Goto the ender / \'
usage: '/<command>'
permission: tfm.command.ender
purgeall:
description: 'Superadmin command - Purge everything! (except for bans).'
usage: '/<command>'
permission: tfm.command.purgeall
colorme:
description: 'Essentials Interface Command - Color your current nickname.'
usage: '/<command> <color>'
permission: tfm.command.colorme
setspawnworld:
description: 'Set world spawnpoint.'
usage: '/<command>'
permission: tfm.command.setspawnworld
warn:
description: 'Warns a player.'
usage: '/<command> <player> <reason>'
permission: tfm.command.warn
report:
description: 'Report a player for admins to see.'
usage: '/<command> <player> <reason>'
permission: tfm.command.report
toggle:
description: 'Toggles TotalFreedomMod settings'
usage: '/<command> [option] [value] [value]'
permission: tfm.command.toggle
o:
description: 'AdminChat - Talk privately with other admins. Using <command> itself will toggle AdminChat on and off for all messages.'
usage: '/<command> [message...]'
aliases: 'adminchat'
permission: tfm.command.adminchat
creative:
description: 'Quickly change your own gamemode to creative, or define someone''s username to change theirs.'
usage: '/<command> [partialname]'
aliases: 'gmc'
permission: tfm.command.creative
rawsay:
description: 'Broadcasts the given message. Supports colors.'
usage: '/<command> <message>'
permission: tfm.command.rawsay
overlord:
description: 'Overlord - control this server in-game'
usage: 'access'
aliases: 'ov'
permission: tfm.command.overlord
uuid:
description: 'Provides uuid tools'
usage: '/<command> <purge | recalculate>'
permission: tfm.command.uuid
logs:
description: 'Register your connection with the TFM logviewer.'
usage: '/<command> [off]'
permission: tfm.command.logs
smite:
description: 'Someone being a little bitch? Smite them down...'
usage: '/<command> [playername]'
permission: tfm.command.smite
cartsit:
description: 'Sit in nearest minecart. If target is in a minecart already, they will disembark.'
usage: '/<command> [partialname]'
permission: tfm.command.cartsit
debug:
description: 'For developers only - debug things via reflection.'
usage: '/<command>'
permission: tfm.command.debug
stop:
description: 'Kicks everyone and stops the server.'
usage: '/<command>'
permission: tfm.command.stop
whitelist:
description: 'Manage the whitelist.'
usage: '/<command> <on | off | list | count | add <player> | remove <player> | addall | purge>'
permission: tfm.command.whitelist
tban:
description: 'Temporarily bans a player for five minutes.'
usage: '/<command> <partialname>'
aliases: 'noob'
permission: tfm.command.timeban
deopall:
description: 'Deop everyone on the server.'
usage: '/<command>'
permission: tfm.command.deopall
saconfig:
description: 'Manage superadmins.'
usage: '/<command> <list | clean | clearme [ip] | <add | delete | info> <username>>'
permission: tfm.command.saconfig
say:
description: 'Broadcasts the given message as the console, includes sender name.'
usage: '/<command> <message>'
permission: tfm.command.say
halt:
description: 'Halts a player'
usage: '/<command> <<partialname> | all | purge | list>'
permission: tfm.command.halt
protectarea:
description: 'Protect areas so that only superadmins can directly modify blocks in those areas. WorldEdit and other such plugins might bypass this.'
usage: '/<command> <list | clear | remove <label> | add <label> <radius>>'
permission: tfm.command.protectarea
cbtool:
description: 'No Description Yet'
usage: '/<command>'
permission: tfm.command.cbtool
survival:
description: 'Quickly change your own gamemode to survival, or define someone''s username to change theirs.'
usage: '/<command> <[partialname] | -a>'
aliases: 'gms'
permission: tfm.command.survival
dispfill:
description: 'Fill nearby dispensers with a set of items of your choice.'
usage: '/<command> <radius> <comma,separated,items>'
permission: tfm.command.dispenserfill
blockcmd:
description: 'Block all commands for a specific player.'
usage: '/<command> <purge | <partialname>>'
aliases: [blockcommands, blockcommand]
permission: tfm.command.blockcommands
tfbanlist:
description: 'Shows all banned player names. Superadmins may optionally use ''purge'' to clear the list.'
usage: '/<command> [purge]'
permission: tfm.command.banlist
adminmode:
description: 'Close server to non-superadmins.'
usage: '/<command> [on | off]'
permission: tfm.command.adminmode
status:
description: 'Show misc. server info.'
usage: '/<command>'
permission: tfm.command.status
fr:
description: 'Freeze players (toggles on and off).'
usage: '/<command> [target | purge]'
permission: tfm.command.freeze
lastcmd:
description: 'Show the last command that someone used.'
usage: '/<command> <player>'
aliases: [lastcommand, lastran]
permission: tfm.command.lastcommand
qdeop:
description: 'Quick De-Op - deop someone based on a partial name.'
usage: '/<command> <partialname>'
permission: tfm.command.quickdeop
enchant:
description: 'Enchant items.'
usage: '/<command> <list | addall | reset | add <name> | remove <name>>'
permission: tfm.command.enchant
wipeflatlands:
description: 'Wipe the flatlands map. Requires manual restart after command is used.'
usage: '/<command>'
permission: tfm.command.wipeflatlands
csay:
description: 'Telnet command - Send a chat message with chat formatting over telnet.'
usage: '/<command> <message...>'
aliases: [tsay, telnetsay]
permission: tfm.command.telnetsay
gadmin:
description: 'Use admin commands on someone by hash. Use mode ''list'' to get a player''s hash. Other modes are kick, nameban, ipban, ban, op, deop, ci, fr, smite.'
usage: '/<command> [list | [<kick | nameban | ipban | ban | op | deop | ci | fr | smite> <targethash>] ]'
permission: tfm.command.gadmin
tfipbanlist:
description: 'Shows all banned IPs. Superadmins may optionally use ''purge'' to clear the list.'
usage: '/<command> [purge]'
permission: tfm.command.ipbanlist
cmdlist:
description: 'Show all commands for all server plugins.'
usage: '/<command>'
permission: tfm.command.cmdlist
cake:
description: 'For the people that are still alive.'
usage: '/<command>'
permission: tfm.command.cake
updatetfm:
description: 'For developers only - update TFM.'
usage: '/<command>'
aliases: [tfmupdate, update, compiletfm, tfmcompile, build, buildtfm, tfmbuild]
permission: tfm.command.updatetfm
lockup:
description: 'Block target''s minecraft input. This is evil, and I never should have wrote it.'
usage: '/<command> <all | purge | <<partialname> on | off>>'
permission: tfm.command.lockup
op:
description: 'Makes a player operator'
usage: '/<command> <playername>'
permission: tfm.command.op
stfu:
description: 'Mutes a player with brute force.'
usage: '/<command> [<player> [-s] | list | purge | all]'
aliases: 'mute'
permission: tfm.command.mute
rollback:
description: 'Issues a rollback on a player'
usage: '/<command> <[partialname] | undo [partialname] purge [partialname] | purgeall>'
aliases: 'rb'
permission: tfm.command.rollback
nickclean:
description: 'Essentials Interface Command - Remove distracting things from nicknames of all players on server.'
usage: '/<command>'
aliases: 'nc'
permission: tfm.command.nickclean
kicknoob:
description: 'Kick all non-superadmins on server.'
usage: '/<command>'
permission: tfm.command.kicknoob
permban:
description: 'Manage permanently banned players and IPs.'
usage: '/<command> <list | reload>'
permission: tfm.command.permban
ro:
description: 'Remove all blocks of a certain type in the radius of certain players.'
usage: '/<command> <block> [radius (default=50)] [player]'
permission: tfm.command.rollbackraduius
opall:
description: 'Op everyone on the server, optionally change everyone''s gamemode at the same time.'
usage: '/<command> [-c | -s]'
permission: tfm.command.opall
mp44:
description: 'Modern weaponry, FTW. Use ''draw'' to start firing, ''sling'' to stop firing.'
usage: '/<command> <draw | sling>'
permission: tfm.command.mp44
orbit:
description: 'POW!!! Right in the kisser! One of these days Alice, straight to the Moon!'
usage: '/<command> <target> [<<power> | stop>]'
permission: tfm.command.orbit
denick:
description: 'Essentials Interface Command - Remove the nickname of all players on the server.'
usage: '/<command>'
permission: tfm.command.denick
premium:
description: 'Validates if a given account is premium.'
usage: '/<command> <player>'
aliases: 'prem'
permission: tfm.command.premium
whohas:
description: 'See who has a block and optionally smite.'
usage: '/<command> <item> [smite]'
aliases: 'wh'
permission: tfm.command.whohas
tagnyan:
description: 'Gives you a tag with random colors'
usage: '/<command> <tag>'
aliases: 'tn'
permission: tfm.command.tagnyan
myadmin:
description: 'Manages your admin login message and other utilities.'
usage: '/<command> <clearloginmsg | setlogin <message>>'
permission: tfm.command.myadmin
whoami:
description: 'Who am I? Who are you? What am I doing here?'
usage: '/<command>'
permission: tfm.command.whoami
resetplayer:
aliases: ["resetplayerdata"]
description: 'Reset a player''s data.'
usage: '/command <partialName>'
usage: '/command <partialName>'
permission: tfm.command.resetplayer
# TODO: Add permission groups