This is a somple Plugin, which executes Commands when a player joins.
The commands will be executed from top to bottom, the first item in the config.yml is executed first etc. . The Spawn command is an ConsoleCommand!!!
Njoy
Config.yml:
# Variables: {Player} for the Playername
SpawnCommand: spawn {Player}
tpPlayerToSpawn: true
ClearInvOnJoin: true
ConsoleCommands:
- 'give {Player} stone 64'
ConsoleCommandsEnabled: true
PlayerCommands: []
PlayerCommandsEnabled: false
CommandsPerm1:
ConsoleCommands:
- 'broadcast {Player} has joined'
PlayerCommands:
- 'gamemode 0'
enableConsole: true
enablePlayer: false
permission: 'joinCommand.mod'
CommandsPerm2:
ConsoleCommands: []
PlayerCommands: []
enableConsole: true
enablePlayer: false
permission: 'joinCommand.b'
CommandsPerm3:
ConsoleCommands: []
PlayerCommands: []
enableConsole: false
enablePlayer: false
permission: joinCommand.c
CommandsPerm4:
ConsoleCommands: []
PlayerCommands: []
enableConsole: false
enablePlayer: false
permission: joinCommand.c
WorldJoinCommand1:
enabled: false
clearInventory: false
ConsoleCommands: []
PlayerCommands: []
enableConsole: false
enablePlayer: false
world: world
permission: joinCommand.worlda
WorldJoinCommand2:
enabled: false
clearInventory: false
ConsoleCommands: []
PlayerCommands: []
enableConsole: false
enablePlayer: false
world: world
permission: joinCommand.worldb
WorldJoinCommand3:
enabled: true
clearInventory: true
ConsoleCommands:
- give {Player} quartz 64
PlayerCommands: []
enableConsole: true
enablePlayer: false
world: world_nether
permission: joinCommand.worldc
WorldJoinCommand4:
enabled: true
clearInventory: true
ConsoleCommands:
- give {Player} grass 64
PlayerCommands: []
enableConsole: true
enablePlayer: false
world: world
permission: joinCommand.worldd
The commands will be executed from top to bottom, the first item in the config.yml is executed first etc. . The Spawn command is an ConsoleCommand!!!
Njoy
Config.yml:
Code (Text):
# Variables: {Player} for the Playername
SpawnCommand: spawn {Player}
tpPlayerToSpawn: true
ClearInvOnJoin: true
ConsoleCommands:
- 'give {Player} stone 64'
ConsoleCommandsEnabled: true
PlayerCommands: []
PlayerCommandsEnabled: false
CommandsPerm1:
ConsoleCommands:
- 'broadcast {Player} has joined'
PlayerCommands:
- 'gamemode 0'
enableConsole: true
enablePlayer: false
permission: 'joinCommand.mod'
CommandsPerm2:
ConsoleCommands: []
PlayerCommands: []
enableConsole: true
enablePlayer: false
permission: 'joinCommand.b'
CommandsPerm3:
ConsoleCommands: []
PlayerCommands: []
enableConsole: false
enablePlayer: false
permission: joinCommand.c
CommandsPerm4:
ConsoleCommands: []
PlayerCommands: []
enableConsole: false
enablePlayer: false
permission: joinCommand.c
WorldJoinCommand1:
enabled: false
clearInventory: false
ConsoleCommands: []
PlayerCommands: []
enableConsole: false
enablePlayer: false
world: world
permission: joinCommand.worlda
WorldJoinCommand2:
enabled: false
clearInventory: false
ConsoleCommands: []
PlayerCommands: []
enableConsole: false
enablePlayer: false
world: world
permission: joinCommand.worldb
WorldJoinCommand3:
enabled: true
clearInventory: true
ConsoleCommands:
- give {Player} quartz 64
PlayerCommands: []
enableConsole: true
enablePlayer: false
world: world_nether
permission: joinCommand.worldc
WorldJoinCommand4:
enabled: true
clearInventory: true
ConsoleCommands:
- give {Player} grass 64
PlayerCommands: []
enableConsole: true
enablePlayer: false
world: world
permission: joinCommand.worldd
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
OnJoinCommand is a free Minecraft Java mod. Downloaded 563 times (via Spigot). Download it and open it directly in the game.