Portals
Portals
Portals allows you to create sender/receiver portals and two way portals.
The portals can be specified on different channels, and each channel can have multiple sender/receivers(a random receiver will be chosen if there's more than one on a channel), and 1 two way portal (both points of the portal).
The channel can be specified by any name, including numbers and letters
To use a portal after creating one, simply walk on it.
Placing a block on a portal or destroying the block a portal is on will destroy the portal, but players without the delete permission won't be able to.
Video:
Youtube Link
Important!
If you are using a mutliworld plugin, you must tell portals what the name of the plugin is in the configuration file, or else risk your portals being deleted upon server restart
New In This Update
Updated to Dev Builds of Bukkit 1.7.2
Commands
- /psender <channel> - creates a sender portal on that channel on the block you're standing on
- /preceiver <channel> - creates a receiver portal on that channel on the block you're standing on
- /ptwoway <channel> - creates a two way portal on that channel on the block you're standing on
- /pignore - don't get teleported by portals
- /pdelete <channel> - if no channel is specified deletes the channel under you, otherwise clears all the portals on the specified channel, or /pdelete all can be used, which deletes all the portals on the server
Permissions
portal.use - lets you use portals if usage perms are required in the config
portal.use.<name> - lets you use portals on that channel if channel perms are required in the config
portal.use.* - lets you use portals on all channels if channel perms are required in the config
- /psender - portal.sender
- /preceiver - portal.receiver
- /ptwoway - portal.twoway
- /pignore - portal.ignore
- /pdelete - portal.delete
Configuration
In the config file there are options to make permissions required to use any portals, then to require permissions for specific channels. If you don't require permissions to use portals, then it won't let you require channels.
If you wanted players to be able to only use portals on channel 1, your config would look like this:
General:
Require_Permission_To_Use_Portals: true
Require_Channel_Specific_Permissions: true
And their permissions would look like this:
portal.use
portal.use.1
Also you can make portals either use the player going into them's rotation or the rotation that the player that created the portal had and choose whether to have the portal effects or not (blindness and nausea), as well as tell portals what multiworld plugin (if any) you're using
To Do
Nothing on here is guaranteed to happen, these are just ideas I had.
- Add a /pchanlist command to see all the channels being used by portals
- Add a /pinfo command to see the channel and portal type of the portal you're standing on
- Add a /plist <channel> command to see all portals on a channel, their type, and their location
Bugs
Please report bugs as a ticket.
- Players can potentially fall through world or get stuck in world
- Players can get stuck between two way portals
Can you please explain this sentence "Also you can make portals either use the player going into them's rotation or the rotation that the player that created the portal had" a little more clearly? I'm sorry I quite can't understand it.
Thanks for your plugin - it's great.
one thing: I disabled permissions in the config (default) but users are not able to create portals. Any chance to give them the possibility? Only ops seem to be able...
@livengoodb
I will when there is a recommended release for 1.4.2 (when the version here - http://dl.bukkit.org/ is for 1.4.2)
@Paperbeemo
I might do a delay, and what do you mean a fake portal block?
maybe you can add a delay durring portal teleportions like the nether and maybe add a fake portal block
AWESOME PLUGIN THOUGH MADE AN AWESOME SPAWN
@BangL
try /pignore
oh btw... everytime you set a sender on a channel which already has a receiver block, it directly reacts and ports you while setting it. maybe you can also do something at this.
@BangL It's fine I more or less know how to fix it
@meeees
if you put it on github i can help, also on the chunk load bug :P
@BangL
1. Yeah I'll get to that soon
2. The reason it happened the last update is because all the portals had to save a new variable (rotation) that I hadn't previously been saving, I'll try to make sure it doesn't happen again
Thanks for this plugin. works well so far.
but i have 2 nice-to-have requests for you: 1. a config option to turn the potion effect off 2. portal-file conversion on update, i had to recreate all portals after the last 2 updates which was a bit annoying.
@levisn1
hmm interesting, I'll fix that soon
20:12:27 [INFO] [Portals] Disabling Portals v1.1.1
20:12:27 [SEVERE] java.lang.NullPointerException
20:12:27 [SEVERE] at meeees.plugins.Portals.Portals.savePortals(Portals.java:475)
20:12:27 [SEVERE] at meeees.plugins.Portals.Portals.onDisable(Portals.java:84)
20:12:27 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:219)
20:12:27 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:400)
20:12:27 [SEVERE] at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:400)
20:12:27 [SEVERE] at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:393)
20:12:27 [SEVERE] at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:265)
20:12:27 [SEVERE] at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:328)
20:12:27 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:437)
20:12:27 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
20:12:27 [SEVERE] Error occurred while disabling Portals v1.1.1 (Is it up to date?)
java.lang.NullPointerException
at meeees.filesaver.FileHandler.close(FileHandler.java:162)
at meeees.plugins.Portals.Portals.onDisable(Portals.java:85)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:219)
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:400)
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:400)
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:393)
at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:265)
at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:328)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:437)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
@levisn1
yeah just create 2 senders and 1 receiver and use the same channel number, if it doesn't work then let me know, but it has worked for me before
i want to create 2 sender portals and 1 receiver portal on the same channel? how? is it possible?
great plugin.. :D light and efficient..=)
@livengoodb
done!
@jkernan7553 im gonna add this and in the config ask if the server wants to require players to have channel specific or not
Or could you make a permission node for each portal? Like I don't want a person to have access to all portals, only some.
Could you add a permissions note to be able to use the portals?
Like: portal.use
It would be awesome, keep up this plugin please, i realy like it!