CommandPortals
CommandPortals - By KingFaris10
What is CommandPortals?
CommandPortals is a very simple plugin that makes portals that runs a command when a player steps on them. The reason it's simple is because there's only 3 commands and a few permissions!
Advantages of using this plugin
Why use this plugin? Well, in this plugin, when you create a portal, it doesn't make it set to a specific block and so you can have an invisible portal or a pressure plate or any block. Also, in the configuration you can add a delay in seconds as to when to execute the command. Lastly, there are very few permission nodes that are easy to remember and 3 commands. From version 1.0.4 and upwards, you can add multiple locations as one portal by modifying the portal configuration. It also has built-in WorldEdit support so you can use that instead of modifying the portal configuration.
Instructions
Stand on a block and type /addcmdportal <portal> <command>
'<portal>' can be replaced with any name. The only time the <portal> bit is actually used is when you delete the portal or add more commands to it.
'<command>' is the command to make the player run. Do not type the slash for the command unless it's WorldEdit where it uses double slashes. Use one slash in that case. You can use <player> inside the <command> to be replaced with the player's name.
Commands and Permissions
Command | Description | Permission |
---|---|---|
N/a | Use a command portal. | cmdportals.use |
addcmdportal | Create a command portal or add commands to an existing portal. | cmdportals.create |
delcmdportal | Delete a command portal. | cmdportals.delete |
listcmdportals | List all the command portals. | cmdportals.list |
Configuration
You do not need to do anything with the configuration files except 'config.yml' located in '/plugins/CommandPortals/'.
You can change the delay (in seconds) as to when the commands are to be executed when the player steps on it.
Supports
This plugin is 100% compatible with WorldEdit and has a built-in system that allows WorldEdit selections to be set as command portals. Although, WorldEdit is NOT required to use this plugin normally.
Suggestions
Feel free to post suggestions in the comments box.
Other plugins by KingFaris10
Check out all my other cool plugins!
AdminFun: http://dev.bukkit.org/server-mods/AdminFun/ | Let your admins have fun using awesome trolling/broadcast commands!
ItemRenamer: http://dev.bukkit.org/server-mods/Rename-Items/ | Rename items (Supports colour codes) without the use of anvils! Also, you can add lores to your item.
EasyPermissionsEx: http://dev.bukkit.org/server-mods/EasyPex/ | Make all the commands easier and shorter for PermissionsEx and make life 100x times more easier =)
KingKits: http://dev.bukkit.org/server-mods/KingKits/ | Turn your server/world into a PvP Battle Kit place where people fight for their lives.
Thank you
Like this plugin? Tell your friends about it too!
Is there a way to have this work on all portals without the adding command? Also does the command get sent from the console or the player?
@UndefinedDecoder
Hmm... I'll look into it in a week.
Tested in 1.7.9. setting the portal creates the coords in the config file with the command but the command doesn't stick. always "unknown command". Excellent idea though, great plugin for people who donate and don't want to be raided. Looking forward to and update!
Oops, completely forgot about this plugin haha. I don't have much time, but I may think of updating this plugin.
Love the idea!! Hoping it will update soon to newest version!
You must have saved my life
Man! You are brilliant! Even though this plugin is abandoned, it's a great idea. Now I can put players into lobbies, kill them, drag then around, do whatever I could possibly do!
I wish the best luck for you, and I am so sorry for this donation chargeback. Life is pain, but it's beatiful.
I'd love to see someone taking over the plugin.
- parat26
Not working.
@FEARcustard
Try walking past the portal (through).
It's not working maybe just me but i don't know how you can mess it up I've just tried it on 5 different blocks on 1.7.4
/addcmdportal <portal> <command>
it shows up on the config as a portal but walking on the block does not do anything
@robodude99
Sure, care to show me any work? Add my Skype: live:Business_Faris
This is cool. Can I take over? I don't have many mods on bukkit, but I am a java coder I could keep it up to date until someone wants to expand on it. I have 4 years of minecraft coding experience. Consider this offer.
@romeo400
No, his bank filed a chargeback because he started overspending, then he ran away because he couldn't do anything. He hasn't replied and hasn't been on since then.
@KingFaris10
Donators can never win a chargeback, you did something wrong contact paypal ASAP, Tell them that they decided unfairly, that you sold the buyer a intangible Item, And that it was electronically Delivered.
do this everyime someone disputes youll always win :)
Quit
I have quit Minecraft and plugin development as I recently lost $1000 due to a chargeback from a donator of my server. I hope you understand as $1000's a hell of a lot to me, so I can't support or update these plugins.
@SkymuraiPvP
That's exactly what I said, "cmdportals.portal.<name>" but they won't have it by default.
@999Mockingjay999 @KingFaris10
What about having permissions for each individual portal like cmdportals.access.PORTALNAME. This would help me a ton.
@999Mockingjay999
That's not possible without having messed up configurations, but I can do it so you require cmdportals.portal.<name> although I may not be able to set the default permissions. Oh well, the people with the current versions will have to update it, it'll make the users less lazy at least. :)
@KingFaris10
Could you look into adding a way to set permissions for a portal. This would be off by default, but you could use something like addcmdportalperm <portalname> [permission]. It would be very useful
@SkymuraiPvP
It works for me when shifting, update to the latest version and try...
@KingFaris10
Hey, I'm just tellin' you that it don't work when shifting. There's nothing on my side that would block that.