egebilecen / PZServerDiscordBot

A Project Zomboid Discord Bot written in C# using Discord.NET to manage and execute commands on Project Zomboid Server.
GNU General Public License v3.0
67 stars 14 forks source link

Admin Commands #9

Closed 6-- closed 1 year ago

6-- commented 1 year ago

Hello,

Can you please add more commands to the bot?

More important is the /reloadoptions, changing settings while the server is online

Do you mind sharing your discord ID?

Thanks

LIST OF GENERAL COMMANDS

Note: When using commands from the Control Panel, you will not need to add a / before commands.
NAME | DESCRIPTION | SYNTAX -- | -- | -- additem | Gives an item to the player. | /additem “user” “module.item” addvehicle | Spawns a vehicle. | /addvehicle “user” addxp | Gives XP to a player. | /addxp “user” “perk=XP” alarm | Sounds a building alarm at the admin’s position. Must be in a room. | /alarm changeoption | Changes a server option. | /changeoption option="newOption" chopper | Places a helicopter event on a random player. | /chopper changepwd | Changes your password. | /changepwd “pwd” “newPwd” createhorde | Spawns a horde near a player. | /createhorde “number” godmode | Makes a player invincible. | /godmode “user” gunshot | Makes a gunshot noise near the player. | /gunshot help | Brings up the help menu. | /help invisible | Makes a player invisible to zombies. | /invisible “user” noclip | Allows a player to pass through solid objects. | /noclip “user” quit | Saves and quits the server. | /quit releasesafehouse | Releases a safehouse you own. | /releasesafehouse reloadoptions | Reloads server options. | /reloadoptions replay | Records and plays a replay for a moving player. | /replay “user” [-record \| -play \| -stop] “filename” save | Saves the current world. | /save sendpulse | Toggles sending server performance info to the client. | /sendpulse showoptions | Shows a list of current server options and values. | /showoptions startrain - stoprain | Starts and stops rain on the server. | /[start \| stop]rain teleport | Teleports to a player. | /teleport “toUser” or /teleport “user” “toUser” teleportto | Teleports to certain coordinates. | /teleportto x,y,z

LIST OF MODERATION COMMANDS:

NAME | DESCRIPTION | SYNTAX -- | -- | -- addalltowhitelist | Adds all current users connected with a password to the whitelist. | /addalltowhitelist adduser | Adds a new user to the whitelist. | /adduser “user” “pwd” addusertowhitelist - removeuserfromwhitelist | Adds/removes a single user connected with a password to the whitelist. | /addusertowhitelist “user” banid - unbanid | Bans/unbans a Steam ID. | /[ban \| unban]id “SteamID” banuser - unbanuser | Bans/unbans a user. | /[ban \| unban] “user” grantadmin - removeadmin | Gives or removes admin rights to a user. | /[grantadmin \| removeadmin] “user” kickuser | Kicks a user from the server. | /kickuser “user” players | Lists all connected players. | /players servermsg | Broadcast a message to all players. | /servermsg “message” setaccesslevel | Set the access/permission level of a player. | /setaccesslevel “user” “[admin \| moderator \| overseer \| gm \| observer]” voiceban | Ban a user from using the voice feature. | /voiceban “user” [-true \| -false]
egebilecen commented 1 year ago

Hey there. My discord ID is Zaphiel#2702. I will check the commands from the table you shared. Is the one you mentioned added recently? Because I don't remember seeing that one. Regardless, I will look into them.

6-- commented 1 year ago

I am not sure tbh, I started my server back in July, and we had the command

I added you on discord 33

egebilecen commented 1 year ago

completed in #11