This is a basic feature for fabric server. It includes the following features:
-
Game mode switching: The game mode can be switched quickly by using the command
/c
or/s
representing game modespectator
,survival
, respectively. -
Basic player teleport: The player can use the command below to set, delete, or teleport to a specific location.
- /tel set <name> - set a point
- /tel del <name> - delete a point
- /tel to <name> - teleport to a point
-
Give OP: The player can use the command
/god
to give OP permission to themselves.This plugin can also make all OPs into temporary permissions, i.e. players will have their op permissions removed when they are offline.
- Download the plugin from the release page.
- Put the plugin into the
mods
folder of your server. - Restart the server.
- Use the command
/c
or/s
to switch game mode. - Use the command
/tel set <name>
,/tel del <name>
, or/tel to <name>
to set, delete, or teleport to a specific location. - Use the command
/god
to give OP permission to yourself.
The configuration file is located at config/essential-server-feature/config.toml
. You can modify the configuration file to change the behavior of the plugin. The default configuration is as follows:
[version]
version = "v1.1"
[fastGameModeSetting]
enabled=true
[teleport]
enabled=true
[giveOP]
enabled=true
temp=true
- Clone the repository.
- Run
./gradlew build
in the root directory of the repository. - The jar file will be generated in the
build/libs
directory.