HomeJavaModsWorldCommands | [1.8-1.16]
WorldCommands | [1.8-1.16]
[​IMG]

ATTENTION: THIS PLUGIN WILL NOT BE UPDATED ANYMORE!
Use my plugin ConditionalEvents instead: https://www.spigotmc.org/resources/...om-actions-for-certain-events-1-8-1-16.82271/

What can I do with WorldCommands?
This plugin basically is a Per World Commands solution. If you want to create a server with multiple minigames and you want a Spawn for each of them, you can create a /spawn command that behave differently in all the worlds.

Example: In the Survival world it will teleport the player to the Survival spawn, and in the Lobby world it will teleport to the Lobby spawn.


Features:
- Same commands with different behavior in different worlds
- Execute multiple commands
- Works with 1.8+
- Compatibility for Spigot/CraftBukkit

Tutorial:
You can follow the examples on the config:
Spoiler: Config.yml
Code (Text):
Commands:
    spawn1:
        command: '/spawn'
        world:
        - lobby
        commands-to-execute:
        - 'console: msg %player% &aYou were teleported to the Lobby Spawn'
        - 'player: warp lobby'
    spawn2:
        command: '/spawn'
        world:
        - survival
        commands-to-execute:
        - 'console: msg %player% &aYou were teleported to the Survival Spawn'
        - 'player: warp survival'
    block-money:
        command: '/money'
        world:
        - minigames
        commands-to-execute:
        - 'console: msg %player% &4[Error] &cYou can''t use that command on this world'

<command>:
This is the command that you want to modify.

<worlds>:
The worlds in which the command needs to be executed to work.

<commands-to-execute>:
These commands will be a replacement of the original commands. You can add as many as you want.

As you can see on the config file there are two "spawn" commands. In the Lobby world the /spawn command will teleport players to the spawn of the Lobby world and in the Survival world to the Survival spawn. REMEMBER to use "console:" or "player:" to distinguish the type of command.

Commands:
-/wco reload Reload the config without restarting the server
-/wco info Shows plugin information

Permissions:
Just one: worldcommands.admin

I hope you like the plugin, is very simple and lightweight but it is useful!

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.

WorldCommands | [1.8-1.16] is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 13,028 times (via Spigot). Download it and open it directly in the game.

Explore more