Sueta

Risecore - Unstuck - Block Commands - Join/first join Comman

1.0

A few essentials helpful to all server types

·Plugin

Wiki | Discord | Issues | Suggestions

This is a core plugin for my other plugins, however on it's own it has the following features.

  • Language file for easy translation.
  • On Join Commands: Run commands every time a player joins your server.
  • Set any block to run commands including crafting table, furnace, buttons, pressure plates, etc.
  • On First Join Commands: Run commands only the first time a player joins your server
  • On Interact: Run commands when a player interacts with a block.
  • Remove Boats: When a player gets out of their boat, you can have the boat go back into their inventory.
  • Unstuck: If a player gets stuck in your world, this command will teleport them a few blocks away at a safe location.

Commands

  • /corereload: Reloads the plugin
  • /stuck: Teleports the player a few blocks away to a safe location

There are currently no permissions. Core reload can only be used by OP and the stuck command can be used by players. We will be adding permissions for this soon.

Config Example

Config Example
# Commands executed for player on login. This placeholders are supported:
# {player} - name of player
onJoin:
- delay: 100
  as: CONSOLE
  cmd: give {player} cookie 1
onFirstJoin:
- delay: 100
  as: CONSOLE
  cmd: give {player} cookie 1
onInteract:
- material: CRAFTING_TABLE
  type: -1
  cancelAction: true
  delayedCommands:
  - delay: 0
    as: CONSOLE
    cmd: give {player} cookie 1
- material: FURNACE
  type: -1
  cancelAction: true
  delayedCommands:
  - delay: 0
    as: CONSOLE
    cmd: give {player} cookie 1
debug: false
removeBoatOnExit: false
bungee: false
bungee_id: server
unstuck:
  cooldown: 30
  warmup: 5

Similar projects

Plugin →