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. ;)
@Reptar_
This error is pretty weird, did you make any changes directly in the configuration file ? Because I think a "to point" of one of your portal is situated in a non-existing world. Could it be possible ?
I get this code:
01:01:18 [SEVERE] Could not pass event PlayerMoveEvent to iGates org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:209) at net.minecraft.server.Packet10Flying.handle(SourceFile:126) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at org.bukkit.Location.getChunk(Location.java:73) at com.ptibiscuit.igates.data.Portal.teleportPlayer(Portal.java:75) at com.ptibiscuit.igates.listeners.PlayerListener.onPlayerMove(PlayerListener.java:32) at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 10 more
Whenever server restarts, portals stay but are not active. How can I fix this?
Hah, thanks for the help.
I managed to get them working through file-editing but those commands will come in handy later on, so thanks very much. It's highly appreciated. :D
@Xanwryn
Okey, here you got all the commands for GroupsManager: http://ess.khhq.net/wiki/Group_Manager/Commands
You don't need to modify any file, you can do it directly in game:
1. Let's find your group, do /manwhois xanwryn (If xanwryn is your nickname), it will show your group (Probably admin, or administrator).
2. Then /mangaddp <Group> igates.portal.use (Replace <Group> with the group you have found)
If you have the permission to add permission, this will work, otherwise, you'll need to modify the file in plugins/GroupManager/worlds/world/group.yml :)
GroupManager, wasn't me who set it up, however.
Tried fiddling around with it to no avail, which may or may not've been a good idea. :P
@Xanwryn
Which permissions plugin do you have ? PermissionsEx ? GroupManager ? Or other ?
I feel like such a noob for asking this but being a total newb to plugin permissions I have no idea how/where to actually add them.
Biggest issue is just knowing where to put them (file-wise). Any help on this would be much appreciated so I can spend less time fiddling with it (trial and error) and more time playing with it (the mod itself is bloody awesome).
@Youcast
For some reason only ops can go through the portal into the actual teleport, the other people just go to nether?
@Trever9191
np ;D
@horse2950 Thanks for the help I did not have Vault it works now
Been playing with this, and it seems a very good one. A couple recommendations/suggestions (whichever is appreciated more, I don't mean any of it as a complaint):
A config file option to default gates to on. An option to apply the current axe-selection as the "from" possibly via another parameter in the command, possibly by config file option. These will make it a couple less commands to create a portal initially.
But in total, this is running very stable on my test machine and it looks like the server owner (of Aerial Heights where I play) is probably going to put it in.
@MsPtibiscuit
<<<<<<< stupid. ok i have the water working thank you for pointing that out. (isit possible to have the purple with no "end" tp?)
@xsonarx
About the water, it's probably because you didn't activate the required config in the config.yml file. :)
@ThiagoROX
PluginsBaker
You need PluginsBaker to use iGates. :)
http://pastebin.com/YPxD8aFC
@maya613
Tu as besoin de PluginsBaker, qui lui même de besoin de Vault. :) La version 1.2.3-R3.0 devrait sortir ce soir, normalement.
P.S: Quand (à peu près) sortira la version 1.2.5-R3.0 ?
Merci d'avance ! :D