# /changeoption

Changes one server option while the server runs. The game's help: Change a server option. Use: /changeoption optionName "newValue"

Source page: https://zomboiddb.com/commands/changeoption/

Command

`/changeoption`

Who can use it

admin

Capability

`ChangeAndReloadServerOptions`

Single player

No, it needs a server

## What you type

`/changeoption optionName "newValue"`

## Examples

- `/changeoption PVP "false"` turns PVP off

rj is the name the game's own help uses. Put your player's name in its place.

[Build this line with your own values](https://zomboiddb.com/commands/?cmd=changeoption#builder)

## Which access levels can use it

| Capability | banned | user | priority | observer | gm | moderator | admin |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `ChangeAndReloadServerOptions` | | | | | | | yes |

These are the roles the game makes for a new server. An admin can change them in the admin panel. [What each level may do](https://zomboiddb.com/access-levels/).

## More commands like this one

[/save](https://zomboiddb.com/commands/save/) [/servermsg](https://zomboiddb.com/commands/servermsg/) [/quit](https://zomboiddb.com/commands/quit/) [/reloadoptions](https://zomboiddb.com/commands/reloadoptions/) [/showoptions](https://zomboiddb.com/commands/showoptions/) [/help](https://zomboiddb.com/commands/help/) [/clear](https://zomboiddb.com/commands/clear/) [/reloadlua](https://zomboiddb.com/commands/reloadlua/) [/reloadalllua](https://zomboiddb.com/commands/reloadalllua/) [/log](https://zomboiddb.com/commands/log/) [/checkModsNeedUpdate](https://zomboiddb.com/commands/checkmodsneedupdate/) [/stats](https://zomboiddb.com/commands/stats/)
