Server commands for Fabric 1.17
Originally a fork of Markus23/mycommands
- Fix cross dimensional travel
- Complete rewrite of mod
- Renamed from TaylorCommands to SimpleCommands
- Removed
/rndtp
command - Allowed for each world to have their own warps and homes save file
- Updated to 1.17
- Added suicide command
- Fixed cross-dimensional travel
- Updated version to 20w19a snapshot
- Updated code for 20w18a snapshot
- Added
/listall
command to list warps and homes/listall
will list the default list in config/listall home
will list all the player's homes/listall warp
will list all the server's warps- Aliases for each are
home
,homes
,h
for homes andwarp
,warps
,w
for warps
- If you're having trouble with this command, you'll need to either delete your config file to allow a new one to be created or add the settings to the bottom of your existing, see /listall settings
- Redesigned the config file so you should delete your current one to allow the new one to be created
- Added console logging, customizable in the config
- Added ability to make some commands enabled/disabled or OP Only
/delhome
/home
/sethome
/listall homes
/back
/tpa
/tpaccept
/tpdeny
/delwarp
/spawn
/setspawn
/setwarp
/warp
/listall warps
/heal
/repair
/day
/rain
/sun
/fly
/god
/suicide
Each command can be toggled as enabled, disabled or opOnly in the config.
enabled
commands all players can useopOnly
commands only players that are OP status can usedisabled
commands nobody can use
The config is laid out as follows:
{
"commands": {
"fly": {
"enabled": true,
"opOnly": false
}
}
}
Note: opOnly commands must have both enabled
and opOnly
set to true
By default only opOnly
commands are logged in the console, to log all commands, set the player
value to true
{
"log": {
"opOnly": true,
"player": true,
"includeModName": false
}
}
opOnly
will log the commands that have opOnly: true
and player
will log anything that has opOnly: false
The includeModName
setting will prepend [TaylorCommands]
before the logging output.
Some commands have additional settings
{
"sethome": {
"enabled": true,
"opOnly": false,
"max": 5
}
}
In this case max
refers to the maximum number of homes a player can have, feel free to customize.
{
"listall": {
"enabled": true,
"opOnly": false,
"defaultList": "warp"
}
}
If /listall
is provided with no argument the defaultList
will be used.