iGates
Heypoday, iGates allows you to create portals to teleport your players. You can activate and desactivate those and fill them with blocks automatically. You can also retain liquids in it, like water or lava. I tried to make as simple as possible I hope you'll enjoy it. :)
/!\ This plugin needs PluginBaker to work. Don't forget to install it !
Authors: Ptibiscuit
How to use
Configuration
There's 2 configuration, situated in config.yml:
- retain_liquid: If set to true, water and lava won't spread outside the "from" areas. Usefull to create that awesome & legendary effect of wall of water ! <3
- display_message_selection: If it's set to true, when you use the woodaxe to make a selection, it will display a message like "Selection complete !". Turn to false when you have WorldEdit or an other plugin that display that kind of message.
Commands & Permissions
/!\ When there's an argument called FillType, it means the type of block which will be filled in the "from" areas, you have to write one of those type of block, here is the list: portal, end_portal, water, lava, web, null (= nothing). When you will turn on a portal, the "from" areas will be filled with that type of block. :) Commands for creating and manage portals:
- /igcreate <Tag> <FillType> (igates.portal.edit.create): Create a portal with the given name and the given FillType. Btw, the "to" point of the portal is automatically set to your position, but you can change it. ;)
- /igdelete <Tag> (igates.portal.edit.delete): Delete a portal.
- /iglist (igates.portal.list): List all the portals. Command fors editing portal:
- /igaddfrom <Tag> (igates.portal.edit.addfrom): Add a "from" area for the given portal. A "from" area is an area where the player will be teleported to the "to" point. Make a selection with the woodaxe before using that command. :)
- /igclearfroms <Tag> (igates.portal.edit.clearfroms): Remove all the "from" areas of the give portal
- /igset <on/off> <Tag> (igates.portal.edit.set.on ou igates.portal.edit.set.off): Turn on or off a portal.
- /igset filltype <Tag> <FillType> (igates.portal.edit.set.filltype): Set the filltype of a portal.
- /igset price <Tag> <Price> (igates.portal.edit.set.price): Set the economy price of a portal.
- /igset to <Tag> (igates.portal.edit.set.to):Set the "to" point of the given portal in your position.
There are some others permissions:
- igates.make_selection: Allow player to make selection with the woodaxe.
- igates.god: Player don't have to pay when he uses a portal.
- There are differents kind of permissions you can give to allow a player to use portals. First, you can simply give "igates.portal.use", it allows the player to use all portals. But, you can instead give a permission to allow the player to use just one kind of portals (water, lava, portal, ...), it is "igates.portal.use.<FillType>" (For example, "igates.portal.use.water" or "igates.portal.use.lava", ...)
Step to step tutorial
What ? That bunch of commands has made you sick ? Okay, read that tutorial to create a portal. :)
- Use the command /igcreate <Tag> <FillType> to create the portal. For this tuto, we'll use /igcreate tuto portal.
- Go where you want the portal teleports and use /igset to tuto.
- Take a woodaxe and make a selection with Right-Click and Left-Click, exactly like with WorldEdit. When the portal will be activated, players in that selection will be teleported to the "to" point.
- Use /igaddfrom tuto when you've got you're selection to add it to the portal.
- Turn on the portal by using /igset on tuto, normally, the "from" area you've had selected will be filled of portal block.
- Enter the "from" zone and you'll be teleported !
If you prefer a tutorial video than letters, here is a tutorial made by DMWandxTMx. :)
Traduire en Français ("Omelette du fromage")
Pour traduire le plugin en Français, rien de plus simple. Ouvrer le fichier lang.properties, il contient toutes les "phrases" qui seront affichées. Enlever son contenu et remplacer-le par ceci:
#Default Lang Configuration #Wed Apr 18 21:25:05 CEST 2012 need_be_player=Vous devez etre un joueur pour faire cette action. top_list=Liste des portails: ft_dont_exist=Ce FillType n'existe pas, utilisez un de ceux-ci: water, portal, end_portal, lava, web, null. tag_dont_exist=Ce nom de portail n'existe pas. set_filltype=Ce portail est ou sera maintenant rempli de {FILLTYPE}. portal_deleted=Portail detruit ! first_point_set=Le premier point de séléction est fixé ! more_args=Mauvaise utilisation de la commande . (Besoin d'argument ?). need_volume=Avant de faire ceci, vous devez sélectionner une zone avec la hache en bois, comme pour World Edit. tag_taken=Ce nom de portail existe déja, tu manques d'imagination ! \^_^ weird_arg=Vous utilisez un argument bizarre, choisissez un de ceux-ci: on, off, to, filltype; cant_do=Vous n'avez pas la permission de faire ceci. elem_list={ACTIVE} §6{TAG}§f: {CNT_FROMS} "Froms" areas. portail_created=Portail "{TAG}" crée ! froms_added=Zone "From"ajoutée au portail \! second_point_set=Le deuxime point de la selection a ete fixé ! set_active=Ce portail est maintenant {ACTIVE}.
Merci à N07070 pour m'avoir filé son lang traduit. :) BIen sur, vous pouvez changer ce qui est écrit, c'est entièrement personalisable. ;)
Please Tell Me This Works With Stargate. Cause I Want Both :P
got this text in the console, when i enter a portal: http:pastie.org/4680591 does the plugin support the my worlds plugin?
@Iehparsi
Never mind...-_-
Can you include a installation guide for us nubs?
@yourshadow991
the prob is in this lines:
2012-08-24 02:34:28 [SEVERE] Could not load 'plugins/iGates.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: PluginsBaker at
you need to install pluginbaker
Hey, I love your plugin! Could you make it possible to choose the filltype with the ID. Right now it seems that you limited the availible Filltypes. I would like to choose from all available blocks.
@yourshadow991
Make sure that you have pluginsbaker installed
@MsPtibiscuit
2012-08-24 02:34:28 [SEVERE] Could not load 'plugins/iGates.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: PluginsBaker at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:195) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:565) at org.bukkit.Bukkit.reload(Bukkit.java:183) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:21) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:878) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
@yourshadow991
Have you any error in your log ?
The plugin does not work on Bukkit 1.3.1 R2. I do not know if it's a common problem or just my ... I have already installed Plugins Baker and Vault. I await a response.
@MsPtibiscuit
Thanks for the reply.
I set my test user at the lowest rank with very little pex permissions. He has no ops..I checked the ops file. He was not charged when going through a portal with a price set. I then explicitly gave him -igates.god Still no charge.
It is like there is no connection between igates and essentials econ.
@inmused
Crap, forget to mention that there's a "igates.god" permission that allow player to not pay when they use a portal. :)
@MsPtibiscuit
No errors.
I used a player with perms for use of the potral only...no ops. The portal worked fine.
I did a /balance before and after teleport and it was the same at both ends. I set a price at 5 and got a conformation message that it was set.
I also checked the log during startup and igates shows no errors:
@inmused
Do you have any error in the log when someone goes through the gate ?
This is working well under 1.3.1 except I can't get the price to work. After setting up a gate I:
/igset price tag 1
I get a conformation message yet when I send someone through the gate they are not charged.
I am using Essentials eco with vault plugin.
Any suggestions?
hi there,
your plugin is really cool, but I needed a little bit more. I wanted to execute a command when entering the portal. Because I wont bother you with this, I fast implemented it myself:
https://github.com/rbs90/iGates
if anyone else is interested, there you can download the jar:
https://github.com/downloads/rbs90/iGates/iCommandGate.jar
I added one new command:
e.g.: /igset command godportal god
The command is only executed if the player has the permission for it.
If you like the idea feal free to copy the code to your sources.
TP's stoped working and every time I try to access a TP it says this error in console.
The server is still running 1.3.1 I did update my client to 1.3.2 (not sure if that had anything to do with it)
Console Error http://pastebin.com/m6FQ16HN
@d3voo
http://dev.bukkit.org/server-mods/pluginsbaker/
You need this plugin :)
i have a problem with the plugin :
21:42:01 [SEVERE] Could not load 'plugins\iGates.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: PluginsBaker at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:195) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(Server ConfigurationManagerAbstract.java:50) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
help
@MsPtibiscuit
0.6.1 works perfect - thanks a lot :)