PortalCommands
There is a major bug fix with portal uses in v2.1.1. It requires Interactables v1.1.1!
Thanks for 5,000 downloads! 10,000?!?
PortalCommands allows the creation of portals that when entered, will execute commands and/or send messages.
The plugin Interactables is NECESSARY for this plugin to run as of 2.0! Download it here.
Features
==========
- Worledit-based creation system meaning that portals can be any size.
- Set a command (or commands!) for the portal to execute on entry.
- Set a message (or messages!) to be sent to the player on entry.
- Multi-word command and message support.
- Colored message support.
- Choose if the player or console sends the command.
- Set cooldowns for portals.
- Player variable! Use @p in commands or messages and it will be replaced with the executer's name.
- Set use limit for portals.
- Use the Special portal type to support commands from custom command plugins.
Following for PortalCommands 2.0+ only!
Visit here to see a guide for previous versions.
Required Dependencies:
- Interactables: Link
- WorldEdit
Upcoming Features
==================
Suggestions! Please let me know of any errors you find!
@Har88
The commands were changed because the plugin integrated with the central Interactables API.
The use of two plugins rather than one would have virtually no effect on CPU use as they together are doing the same amount of work that a larger PortalCommands would complete. The RAM increase would also be minute because the PortalCommands plugin doesn't store any duplicate data from Interactables. The only extra ram would be in Bukkit's plugin manager.
As for the disabling, you can modify the portal settings when the portal is live with various commands.
Working with 1.8, wish there wasn't two separate plugins though, more plugins= less ram and cpu :( , a feature suggestion, a command to disable the portal, be nice to work on the portal area without deleting it and creating it every time i want to make adjustments. Also maybe change the commands from /intractable to /pc ? Just seems to make more sense. (pc = portal commands)
@Qwertyness Works with most commands, and it works with all commands I've tried before the server restarts but it DOESN'T always work once the server restarts. This seems to only take effect when the command has a colon, for example:
mvtp a:lobbymainspawn
It works fine, but once it restarts it will turn into
mvtp a:player
please fix!
@JohnCollin2004
I have no affiliation with MultiWorld. Contact the plugin developer to pursue fixing the problem.
I tried using this with MultiWorld, but it said it wasn't found.
@draand28
If you just make the portal execute the command to open the GUI, yes.
This plugin works with ChestCommands menus? A friend told me he is using this plugin on his server and i want to use it too.
@Qwertyness
It's not the space it takes, but rather the time to load. Just a minor issue. But thanks!
@TheOnlyRealTGS
The file may get a lot of entries, but it should never become a problem data usage wise since it's just a text file. (Unless you had millions of users)
And I'm very glad you like it!
@Qwertyness
It can quickly fill my file up due to tons of uses :/ Also, thanks for creating this plugin! It have helped my server A LOT! :)
@TheOnlyRealTGS
I can't really see why the log is a problem. The file is necessary for one of the features in the plugin.
Can you add an option to disable the uses log?
@TomXPro
Unless the Survival Games plugin teleports the player when that command is run, the player would not be moved. If the plugin is supposed to teleport the player when it recieves that command, then it's either a problem with your command syntax or an error with that plugin.
Uhm, I want to create a portal for joining the Survival Games. So ist added a command "sg join Arena1". Survival Games accepts the command and shows up a new player in the Arena but the players stucks at the portal position and is not teleported to the right place.
I have an error similar to Time2plaay
Error: http://www.pastebucket.com/72628 Portal commands config: http://www.pastebucket.com/72629 Portal commands version: 2.1.1 Interactables: 1.1.1 Spigot version: Spigot 1.7.9/1.8 protocol hack
As soon as I ran into any portal, it sent the error to the console.
@Qwertyness
Ok I will post the error if it occure another time, but for the moment, the error doesn't fire, so, I will view if it's not just an error with my server or another ...
@Time2Plaaay
That error report isn't very informative.
Could you give me the following information?
Please PM me with the information so we don't spam the comments too bad :)
Sorry for the late response, and thanks for contacting!
Hi Qwertyness, I found an error on your plugin, here is the code :
[Server thread/ERROR]: Could not pass event PlayerMoveEvent to PortalCommands v2.1.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:235) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PacketPlayInFlying.a(SourceFile:137) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PacketPlayInPosition.handle(SourceFile:63) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [1.7.9-R0.2-BETA.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
...
@Pez0000
Read the command and permissions page provided in the description. Also make sure you are using the latest version of PortalCommands since older versions may not yet have @p integrated to them.
EDIT: /cmdportal is a command used in pre-2.0 versions, and @p was added in 2.0. I recommend using 2.1.1 because a lot of new features were added in 2.0 and 2.1 (2.1.1 is a major big fix)
OK. /cmdportal create Kill /kill @p is right?