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!
@Qwertyness
If you mean to use bukkit 1.7.9 ! I don't want that 'cause there are a lot of plugins still in 1.7.2 . If you mean use the plugins in 1.7.2 bukkit server .. it doesn't work ! I tried it , it create the portal but when I go threw it nothing happen . But the 1.7.2 plugins ! WORK !
@heroboy04
Why not use the 1.7.9 of both? The newest versions of each include portals with a certain number of uses per user.
@Qwertyness
:D sorry my mistake I wanted it fast so that I didn't test it all I am using bukkit build 3020 1.7.2 R3 I think . And I used the 1.7.9 version of this plugin and the int... plugin ... I though it can work with the 1.7.2 ! so i tested the 1.7.2 version of both and it worked
sorry again ! :)
@heroboy04
I can't help you without more info. Describe the exact steps you took to create the error as well as your Bukkit version and any console errors you got.
@Qwertyness
I know ! I did installed it but and I can create a portal with the command but when i go threw it nothing happen and when i go to the config i see no commands for the portal
@heroboy04
Make sure you have Interactables installed. There are multiple links to it in the description. Interactables is required to run PortalCommands.
And it does work, as it has been tested by multiple people, by me personally, and by all the people in the comments that it works for ;)
it doesn't work :/
@bobtit
No, as this plugin runs on the Interactables API and must follow the protocols I set forth when creating it.
One of the main problems with a command like /create is the it would be more likely to conflict with another plugin.
As for the location section of the command, this does not allow for more than one block portals because it doesn't have two vertices to form the rectangular prism. Even if you were to make two location arguments, it would be more of a pain to find and type these than it is using worldedit, which most servers have anyway.
Would it be possible to have the commands create a portal to a location in the same world Like /create portal portal name location xyz ?
@Skymurai
Well, without more information I really can't even begin to fix the problem, as I don't know what the problem is. I can tell you that I have done a lot of testing around reloading with the plugin to ensure that the plugin is saving the Interactables properly and I have never run into your problem.
I would suggest that you do not to periodic reloads like you do as they can cause memory leaks and other problems within your JVM. It's just overall bad for the server and wastes your computer resources as information from old server sessions is still on memory after reloads. Reloads are also notorious for kicking users across the board, it's not just Interactables causing the problem.
If you can get me some more information, I might be able to look more into it. Other than that, I recommend you just switch to a world saving plugin instead of the reloads.
Sorry I couldn't help more.
@Qwertyness
Yeah. It's Interactables. No errors. When the console is going through unloading Plugins it stops on Interactables, takes like 20 seconds, and when it keeps going everyone online is kicked.
I have been doing some work on adding a usage limit feature to Portals (and also in the Interactables API). Hopefully I can get it finished soon!
@RustyDagger
I have never had a complaint about that before, can you PM me with more details such as your exact procedure?
EDIT: I just did a basic test and everything worked fine, even after multiple reboots and restarts. If your problem continues, PM me with as many details as you can think of and I will try to help.
plugin works great EXCEPT it does not remember any commands or messages you give it after a restart.... We used the create command and made a bunch with commands after a server reboot ( scheduled ) the Cords for the portal are in the config file but none of the commands or messages. Making the plugin useless.
@Skymurai
Are you sure its Interactables? I can't think of any reason why it would do that.
Is there an error log or something that signals it's Interactables?
Hey I'm back. Love your plugin and its works for me 99% The 1% I dislike is that when reloading and Interactables is disabling, it kicks everyone from the server. Do you know why? Could you fix it?
@wantedvanted
Click the commands and permissions link in the description.
What are the permissions?
Please look at your private messages. It's urgent.
An example command to create a portal that gives 10 dirt could be:
/interactable createportal DirtGiver -t CONSOLE /give @p dirt 10
The command uses CONSOLE to make the server console itself execute the command. This is because the player is unlikely to have /give perms.
As for the command not executing, the player still has to have the correct perms for the command if it is a PLAYER type portal (It is by default if you don't assign a type in the creation command). If they do already, use /Interactable listportalcommands <portal_name> and make sure the command you want is listed there. If it still doesn't work, message back and I'd be happy to help you further!