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!
@Pez0000
This plugin has no UI feedback in accordance to the @p variable. The @p you place in the command is simply replaced by the player's name before the command is sent through the server. Any feedback such as "Player not found" is the fault of either the plugin the command belongs to or the way you typed the command.
As of yet, there are no tutorial videos for this plugin, so I'm sorry I can't link one.
Hey! Please link a tutorial video for this plugin. @p didn't work.
@mscott1106
That means that you typed the command wrong, although my syntax checking code must have a logical error.
Make sure you are using /interactable createportal <portal_name> (opt. -t <PLAYER, CONSOLE, or SPECIAL>) <command>
Can you provide the exact command you sent to cause the error?
Ok, so I tried the command and it said ''not a valid type: use player or console.'' then it said successfully created portal: null, then it said an internal erroe has occurred. Here is the console: NOTE, I am using 1.7.2
11.09 18:15:08 [Server] INFO ... 13 more 11.09 18:15:08 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at net.kingdomofkingdoms.Qwertyness_.interactables.Interactables.onCommand(Interactables.java:49) [?:?] 11.09 18:15:08 [Server] INFO at net.kingdomofkingdoms.Qwertyness_.interactables.command.CommandHandler.onCommand(CommandHandler.java:47) [?:?] 11.09 18:15:08 [Server] INFO at net.kingdomofkingdoms.Qwertyness_.portalcommands.command.Create.run(Create.java:73) [?:?] 11.09 18:15:08 [Server] INFO at net.kingdomofkingdoms.Qwertyness_.interactables.interactable.InteractableManager.registerInteractable(InteractableManager.java:26) [?:?] 11.09 18:15:08 [Server] INFO at net.kingdomofkingdoms.Qwertyness_.interactables.interactable.InteractableManager.isRegistered(InteractableManager.java:38) [?:?] 11.09 18:15:08 [Server] INFO at net.kingdomofkingdoms.Qwertyness_.interactables.interactable.InteractableManager.isRegistered(InteractableManager.java:42) [?:?] 11.09 18:15:08 [Server] INFO Caused by: java.lang.NullPointerException 11.09 18:15:08 [Server] INFO at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:47) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:817) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:955) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:703) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [permgen.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks] 11.09 18:15:08 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'interactable' in plugin Interactables v1.0 11.09 18:15:08 [Server] INFO [18:15:08 ERROR]: null
My Version: 1.7.2-R0.3 Feb 28, 2014 The player variable @p didn't work. It says "Player not found"
@mscott1106
Earlier versions could have bugs or be missing some of the newer features. I also no longer possess the original code for older versions, so it is harder for me to support them.
After the -t <type> you put whatever command you want to execute when a player enters the portal.
I would like to figure out your problem with the current version, so if you have time to help, I would be grateful.
Ok, so I downloaded an earlier version and it works, but I dont know how to use the command. What do you out after the -t?
@mscott1106
Were there any console errors relating to PC or Interactbles on server start?
Ok, so I think there is something wrong with Interactables. When I go /ineractable help, nothing apperas in console nor ingame. I have no clue on what to do. Please help, I would appreciate it greatly!
@boidyluke
Thanks a lot for your support!
Great plugin, just donated to get you a couple of redbulls xD thanks for this
@ServerElementals
Refer to the description.
Does this plugin have variables, such as a player?
e.g. /addportalcommand Portal1 -t <CONSOLE>/manuadd <player> Admin
@heroboy04
For now, you can set the portal use limit to something really high, then just set it to 0 when the new build comes out to make it unlimited.
@Qwertyness
:o wow I see now what's the problem with my grammar I think :threw I thought it means cross :D :D but it's just the past of throw :D I think I am gonna use the word ( cross ) now :D nvm
O.K I am waiting for that build :D
The new build is posted and hopefully will be accepted soon!
@heroboy04
I don't know what to tell you. The plugin works like a charm for everyone else as far as I can tell. Sorry I couldn't help.
EDIT: I think I figured out why you may be having a problem. With the new use limit feature in the 1.7.9 PC version, if you don't set the uses, it resolves as 0 uses available, meaning that no one can use the portal.
I'll make the needed changes and post a fix, we'll see if it works.
The plugins for 1.7.9 don't work in bukkit 1.7.9 ! it just don't do the commands when i go threw it ! but I can do the commands to do the portals
@Qwertyness
yeah ! I don't think all the plugins ! .. but maybe I will try later to try the 1.7.2 plugins in the 1.7.9 bukkit ! :)
Edit : :) update the server = done :) = 1.7.9
@heroboy04
I'm aware that the 1.7.9 plugins aren't compatible with 1.7.2 bukkit builds, I was just suggesting a bukkit upgrade, as most of the major plugins have updates by now.