Commit Graph

1651 Commits

Author SHA1 Message Date
Benjamin Elsdon
6e14dda855 Merge branch 'main' of https://github.com/Melledy/Grasscutter 2022-04-19 18:44:10 +08:00
Melledy
2d2013dfee Merge pull request #22 from SpikeHD/level_setting_commands
Set world level command
2022-04-19 03:22:45 -07:00
Benjamin Elsdon
5cea728eb7 Admin cmds, perms and descriptions for all cmds +
Additonal stuff: Fixed + refactored help command. Removed 'Usage: ' from all commands. Created 'player.hasPermission(permission)' function. Created default for Usage annotation. Created hashmap version of 'getHandlers' and renamed the original to getHandlersAsList()
2022-04-19 18:17:19 +08:00
SpikeHD
d5ad82b598 set world level command 2022-04-19 02:44:33 -07:00
Melledy
d9fc159550 Refactor some commands and move inventory/team limits to the config 2022-04-19 02:22:21 -07:00
SpikeHD
ed448a9f84 properly add ascension-locked talents 2022-04-19 02:06:58 -07:00
Melledy
7417a1b62c Fix issue with a player not being able to spawn when they join somone in co-op with a singleplayer team of more than the max allowed amount 2022-04-19 01:43:38 -07:00
SpikeHD
cc9beed961 calculate ascension based on level provided to givechar command 2022-04-19 01:37:52 -07:00
Melledy
3cc025efe0 Grant superuser permissions to accounts created before the permissions update 2022-04-19 01:28:31 -07:00
SpikeHD
a5caf3d56c fix references to givechar 2022-04-19 01:01:40 -07:00
SpikeHD
91e4a087bc fix conventions to match other commands 2022-04-19 00:41:40 -07:00
SpikeHD
21a1503288 Give character command base 2022-04-19 00:15:10 -07:00
Melledy
3ea9e15745 Make co-op players spawn into the host's scene too 2022-04-18 23:09:48 -07:00
Melledy
dd8d1752ed Deregister empty scenes if a player leaves them 2022-04-18 23:00:12 -07:00
Melledy
3e7dc503a7 Merge pull request #16 from pedox/feat-dispatch-server
Added Config for using http server with non SSL
2022-04-18 22:05:51 -07:00
Melledy
efc9a4b3e5 Grant superuser permissions to accounts created before the permissions update 2022-04-18 22:00:01 -07:00
naufal
0ff6ea427a feat: added configuration for change upload port
feat: added configuration for use non SSL
2022-04-19 11:49:08 +07:00
Melledy
4cf734fb61 Fix permissions not saving 2022-04-18 21:38:38 -07:00
Melledy
c65443f422 Fix permissions not saving 2022-04-18 21:38:19 -07:00
Melledy
057f568a37 Merge branch 'main' into dev-scene 2022-04-18 21:35:01 -07:00
Melledy
4b05ed28cb Merge pull request #15 from Melledy/file-separator
Use the operating system's file separator
2022-04-18 20:55:12 -07:00
KingRainbow44
7666c92cf1 GameServer#getPlayerByUid = GameServer#getPlayerById 2022-04-18 23:53:05 -04:00
KingRainbow44
824b3a4bf4 Implement basic permission system 2022-04-18 23:46:04 -04:00
KingRainbow44
d873b8ad0f Use OS file separator 2022-04-18 23:26:34 -04:00
KingRainbow44
93a6914261 Generic help command 2022-04-18 23:06:03 -04:00
KingRainbow44
f11138dedc Fix bugs with commands 2022-04-18 22:31:31 -04:00
KingRainbow44
2e01c7d5ad Find by player's UID not IID 2022-04-18 22:23:22 -04:00
KingRainbow44
a4932c7557 Refactor method names & add / prefix 2022-04-18 22:16:20 -04:00
KingRainbow44
c162632fbd Add color to logback 2022-04-18 22:10:51 -04:00
KingRainbow44
b35ee455e5 Add existing commands 2022-04-18 22:10:41 -04:00
KingRainbow44
61c0ff36e7 Execution power 2022-04-18 22:09:51 -04:00
KingRainbow44
25c414be1c Fix registering error & implement handling 2022-04-18 20:11:23 -04:00
KingRainbow44
9cd65046b1 Implement new command system 2022-04-18 18:24:08 -04:00
Melledy
e8261d568b Update failure message when not being able to change scene 2022-04-18 10:17:19 -07:00
Melledy
e7a3e8252d Fix small issue with command parsing 2022-04-18 10:15:33 -07:00
Melledy
c1d5b1fc8f Set scene names to generate in the handbook 2022-04-18 10:14:45 -07:00
Melledy
d3eb0dcfc2 Add SceneDatas 2022-04-18 10:14:32 -07:00
Melledy
495ca5c16c Fix small issue with command parsing 2022-04-18 09:59:57 -07:00
Melledy
7bac86ed41 Add !changescene command 2022-04-18 09:59:21 -07:00
Melledy
be89a6099e Simple sanity check when changing scenes 2022-04-18 09:59:00 -07:00
Melledy
a5a420da9d Merge branch 'main' into dev-scene 2022-04-18 09:40:06 -07:00
Melledy
bee654c64f Implement support for multiple scenes in a world 2022-04-18 09:39:29 -07:00
Benjamin Elsdon
ea2b2f9502 Refactored PlayerCommands, added commands and more
Added player "Help" command, added server "sendmsg" command, changed getAcccountByPlayerID to public in DatabaseHelper, and allowed player commands to be submitted with "/" and "!"
2022-04-18 23:47:26 +08:00
ayy lmao
f769ef1858 Add support for specifying a Public IP 2022-04-18 12:10:39 +03:00
Melledy
61e4491ed1 Properly level up characters with the character exp virtual item 2022-04-18 00:45:28 -07:00
Melledy
ab343aebd4 Random thing for logback 2022-04-18 00:42:58 -07:00
Melledy
be180179a1 Merge branch 'main' of https://github.com/Melledy/Grasscutter 2022-04-17 23:45:08 -07:00
Melledy
ad57bb91df Remove gadgets from world when a player leaves 2022-04-17 23:43:47 -07:00
Melledy
c919c9c9eb Limit co-op teams to 4 avatars max total 2022-04-17 23:36:47 -07:00
KingRainbow44
8b5f7dd06f Refactor existing code 2022-04-18 01:11:27 -04:00
Melledy
7925d1cda3 Initial commit 2022-04-17 05:43:07 -07:00