0flee Posted May 7, 2021 Share Posted May 7, 2021 Hello folks How i can fix this command to work? What i have to add/edit or remove? This command i want to be just for admins ( with access Levels ) and to delete tables ! Here it's command Command for Wipe Link to comment Share on other sites More sharing options...
0 wongerlt Posted May 8, 2021 Share Posted May 8, 2021 public boolean useVoicedCommand(String command, PlayerInstance activeChar, String target) { if(!activeChar.isGM()) return true; Link to comment Share on other sites More sharing options...
0 Zake Posted May 8, 2021 Share Posted May 8, 2021 Just execute those queries manually, it will take less than a minute. In case you are using navicat its way more simple. Right click on a table -> empty table. Although, if you would like to make this command gm only just make this admincommand instead of voiced. Also keep in mind that this will mess up a lot of stuff. It's always better to wipe the server while being shut down Link to comment Share on other sites More sharing options...
0 0flee Posted May 8, 2021 Author Share Posted May 8, 2021 I use host service so isn't navicat. I think can be done after server have a auto-restart ! And still doesn;t work @wongerlt. Thank you for answer! Link to comment Share on other sites More sharing options...
0 0flee Posted May 9, 2021 Author Share Posted May 9, 2021 I have a database on VPS Link to comment Share on other sites More sharing options...
0 nikpappa Posted May 10, 2021 Share Posted May 10, 2021 do the other commands in this class work? Link to comment Share on other sites More sharing options...
0 0flee Posted May 10, 2021 Author Share Posted May 10, 2021 Yea, just close server Link to comment Share on other sites More sharing options...
0 nikpappa Posted May 10, 2021 Share Posted May 10, 2021 7 minutes ago, 0flee said: Yea, just close server what do you mean? Link to comment Share on other sites More sharing options...
0 0flee Posted May 10, 2021 Author Share Posted May 10, 2021 When i launch command, gameserver it't closed and i have to reopen... Link to comment Share on other sites More sharing options...
Question
0flee
Hello folks How i can fix this command to work? What i have to add/edit or remove?
This command i want to be just for admins ( with access Levels ) and to delete tables !
Here it's command
Command for Wipe
Link to comment
Share on other sites
8 answers to this question
Recommended Posts