Home›Java›Mods›OnJoinCommand
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:
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
 

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

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.

Explore more