From cae2d6e0ba7b4d3e8136f715a72b68f76cd29bb8 Mon Sep 17 00:00:00 2001 From: Luke H-W Date: Mon, 27 Jun 2022 13:02:46 +0930 Subject: [PATCH] Update commands --- Commands.md | 104 ++++++++++++++++++++++++++++++++++------------------ 1 file changed, 68 insertions(+), 36 deletions(-) diff --git a/Commands.md b/Commands.md index 2ea659c..2b5158a 100644 --- a/Commands.md +++ b/Commands.md @@ -18,39 +18,71 @@ Commands also work in other chat rooms, such as private/team chats. to run comma Note that performing commands on other players will usually require a permission related to the base permission node. (e.g. `player.give` becomes `player.give.others` if used on another player) -| Commands | Description | Alias | Targeting | Usage | Permission node | -| -------------- | ------------------------------------------------------------------------------------------------- | ------------------ | ------------- | --------------------------------------------------------------------------- | ------------------------- | -| account | Creates an account with the specified username, and the in-game UID if specified. | | Server only | account \ \ [UID] | | -| broadcast | Sends a message to all the players. | b | None | broadcast \ | server.broadcast | -| coop | Forces someone to join the world of others. | | Online Player | coop [host UID (default self)] | server.coop | -| changescene | Switch scenes by scene ID. | scene | Online Player | changescene \ | player.changescene | -| clear | Deletes all unequipped and unlocked lvl0 artifacts(art)/weapons(wp)/material(mat) from inventory. | | Online Player | clear \ | player.clearinv | -| drop | Drops an item around you. | d dropitem | Online Player | drop \ [amount] | server.drop | -| enterdungeon | Enter a dungeon by dungeon ID. | | Online Player | enterdungeon \ | player.enterdungeon | -| give | Gives item(s) to you or the specified player. | g item giveitem | Online Player | give \ [amount] [level] [refinement] | player.give | -| giveall | Gives all items. | givea | Online Player | giveall [amount] | player.giveall | -| giveart | Gives the player a specified artifact. | gart | Online Player | giveart \ \ [\[,\]]... [level] | player.giveart | -| givechar | Gives the player a specified character. | givec | Online Player | givechar \ | player.givechar | -| godmode | Prevents you from taking damage. | | Online Player | godmode | player.godmode | -| heal | Heals all characters in your current team. | h | Online Player | heal | player.heal | -| help | Sends the help message or shows information about a specified command. | | None | help [command] | | -| kick | Kicks the specified player from the server. | k | Online Player | kick | server.kick | -| killall | Kills all entities in the current scene or specified scene of the corresponding player. | | Online Player | killall [sceneId] | server.killall | -| list | Lists online players. | | None | list | | -| permission | Grants or removes a permission for a user. | | Online Player | permission \ \ | permission | -| position | Sends your current coordinates. | pos | Online Player | position | | -| reload | Reloads the server config. | | None | reload | server.reload | -| resetconst | Resets currently selected (or all) character(s) to C0. Relog to see proper effects. | resetconstellation | Online Player | resetconst [all] | player.resetconstellation | -| restart | Restarts the current session. | | None | restart | | -| sendmessage | Sends a message to a player as the server. | say | Online Player | say \ | server.sendmessage | -| setfetterlevel | Sets the friendship level for your currently selected character. | setfetterlvl | Online Player | setfetterlevel \ | player.setfetterlevel | -| setstats | Sets a stat for your currently selected character. | stats | Online Player | setstats \ \ | player.setstats | -| setworldlevel | Sets your world level. Relog to see proper effects. | setworldlvl | Online Player | setworldlevel \ | player.setworldlevel | -| spawn | Spawns some entities around you. | | Online Player | spawn \ [amount] [level(monster only)] | server.spawn | -| stop | Stops the server. | | None | stop | server.stop | -| talent | Sets talent level for your currently selected character | | Online Player | talent \ \ | player.settalent | -| team | Add, remove, or swap avatars in your current team. Index start from 1. | | Online Player | team \ [avatarId,...] [index|first|last|index-index,...] | player.team | -| teleport | Change the player's position. | tp | Online Player | teleport \ \ \ [sceneId] | player.teleport | -| tpall | Teleports all players in your world to your position. | | Online Player | tpall | player.tpall | -| unlocktower | Unlock the all floors of abyss. | ut | Online Player | ut | player.tower | -| weather | Changes the weather. | w | Online Player | weather \ \ | player.weather | \ No newline at end of file +You can set an empty target that overrides steps 2-4 by using `@` as an argument. This is currently only useful as a special case of the +`sendmessage` command which sends to *all* players on the server, like the old `broadcast` command. + +### Informational commands (no permissions) +| Commands | Description | Alias | Targeting | Usage | +| -------- | ---------------------------------------------------------------------- | ----- | ------------- | -------------- | +| list | Lists online players. | | None | list | +| help | Sends the help message or shows information about a specified command. | | None | help [command] | +| position | Sends your current coordinates. | pos | Online Player | position | + +### Commands for server admins +| Commands | Description | Alias | Targeting | Usage | Permission node | +| ----------- | ----------------------------------------------------------------------------------------- | ----- | ------------- | ------------------------------------------- | ------------------ | +| account | Creates an account with the specified username, and the in-game UID if specified. | | Server only | `account [UID]` | (can only use on server console) | +| permission | Grants or removes a permission for a user. | | Player | `permission ` | permission | +| kick | Kicks the specified player from the server. | k | Online Player | `kick` | server.kick (only for others) | +| ban | Kicks and bans the specified player from the server. | | Player | `ban [timestamp] [reason]` | server.ban | +| unban | Unbans specified player from the server. | | Player | `unban` | server.ban | +| sendmessage | Sends a message to a player as the server. If used without a target, message all players. | say | None | `say ` | server.sendmessage | +| reload | Reloads the server config. | | None | `reload` | server.reload | +| stop | Stops the server. | | None | `stop` | server.stop | + +### Commands that can potentially harm players +| Commands | Description | Alias | Targeting | Usage | Permission node | +| -------------- | ------------------------------------------------------------------------------------------------- | ------------------ | ------------- | ------------------------------------- | ------------------------- | +| clear | Deletes all unequipped and unlocked lvl0 artifacts(art)/weapons(wp)/material(mat) from inventory. | | Online Player | `clear ` | player.clearinv | +| give | Gives item(s) to you or the specified player. | g item giveitem | Online Player | `give [see below]` | player.give | +| resetconst | Resets currently selected (or all) character(s) to C0. Relog to see proper effects. | resetconstellation | Online Player | `resetconst [all]` | player.resetconstellation | +| setfetterlevel | Sets the friendship level for your currently selected character. | setfetterlvl | Online Player | `setfetterlevel ` | player.setfetterlevel | +| setprop | Sets accountwide properties. | prop | Online Player | `setprop ` | player.setprop | +| talent | Sets talent level for your currently selected character | | Online Player | `talent ` | player.settalent | + +### Commands without lasting effects +| Commands | Description | Alias | Targeting | Usage | Permission node | +| ------------ | --------------------------------------------------------------------------------------- | ----- | ------------- | ----------------------------------------------------------------- | ------------------- | +| coop | Forces someone to join the world of others. | | Online Player | `coop [host UID (default self)]` | server.coop | +| tpall | Teleports all players in your world to your position. | | Online Player | `tpall` | player.tpall | +| heal | Heals all characters in your current team. | h | Online Player | `heal` | player.heal | +| killall | Kills all entities in the current scene or specified scene of the corresponding player. | | Online Player | `killall [sceneId]` | server.killall | +| setstats | Sets a stat for your currently selected character. | stats | Online Player | `setstats ` | player.setstats | +| spawn | Spawns some entities around you. | | Online Player | `spawn [amount] [level(monster only)]` | server.spawn | +| team | Add, remove, or swap avatars in your current team. Index start from 1. | | Online Player | `team [avatarId,...] [index\|index-index,...]` | player.team | +| teleport | Change the player's position. | tp | Online Player | `teleport [sceneId]` | player.teleport | +| enterdungeon | Enter a dungeon by dungeon ID. | | Online Player | `enterdungeon ` | player.enterdungeon | +| weather | Changes the weather. | w | Online Player | `weather [weatherID] [climate]` | player.weather | + +### Give command +The `give` command now has the functionality of the old `giveall`, `giveart` and `givechar` commands. + +`give` has keyword arguments `x`, `lv`, `r` and `c` which can be used anywhere in the command, just like `@UID` can be. +`x` can also be written as `x`, and `lv` can be `l` or `lvl`, and they can all be chained together without spaces, e.g. `lv90r5x10`. + +To give all items, do `give [x]`. The above keyword arguments are all valid for this. + +The artifact syntax is `give [mainPropId] [[,]]...`. `x` and `lv` work with this, and note that this uses levels of 0-20 to match displayed in-game numbers rather than 1-21, though it won't complain if you feed it `lv21`. + +### SetProp command +`prop ` replaces the old `godmode`, `nostamina`, `unlimitenergy` commands. + +`prop ` are the shortest aliases for them. + +`prop abyss 12` replaces `unlocktower`. Full syntax is `prop ` + +To set BP level: `prop ` + +And world level: `prop ` + +AR: `prop player_level ` \ No newline at end of file