Essential commands for Dragonfly.
- /help - Show server commands and descriptions.
- /gamemode - Changes the player to a specific game mode.
- /teleport - Teleport everywhere.
- /defaultgamemode - Set the default gamemode.
- /setworldspawn - Sets a worlds' spawn point.
- /xyz - Show/hide coordinates.
- /op - Give op permissions to a player.
- /deop - Take op permissions from a player.
- /stop - Stop the server from in-game.
- /time - Changes or queries the worlds game time.
go get -u github.com/xerenahmed/essentialsgo
import "github.com/xerenahmed/essentialsgo"
essentialsgo.RegisterCommands(server) // the server is *dragonfly.Server{}
essentialsgo.RegisterCommandsWithout(server, []string{"stop", "defaultgamemode"}) // All commands will be loaded, except "stop" and "defaultgamemode"
If you want to support the project, you can give this project a star.
Please report issues or errors in the Issues tab.
essentialsgo.LoadConsole()