sekwah41 / advanced-portals Goto Github PK
View Code? Open in Web Editor NEWAn advanced portals plugin for bukkit
License: GNU Lesser General Public License v3.0
An advanced portals plugin for bukkit
License: GNU Lesser General Public License v3.0
Blocks within a range of portals will be protected and maybe take into accout, world edit. Liquids should also stop flowing
The command /portal portal still appears in the command list when typing /portal help even tough it doesn't work and the changelog for the latest version mentions it being removed ("Removed portal portal as it did nothing.").
EDIT: I'm using version 0.0.21.
I've tried setting trigger block to solid blocks that you cannot go through and it doesn't teleport you but if I teleport inside the block then it works. For example I make a 10x10x10 portal and set the trigger block to dirt then when i stand on the dirt it doesn't teleport but if I teleport my self inside the dirt block the portal works.
Add to the api the ability to add custom warp effects. Some pretty cool stuff may be made from it :D
There is a problem with 1.8 where they have removed the block as an inventory item(see if there is another way to give you it, if not make an item with a custom name which when placed it turns into portal)
Add bungee support for the server teleportation and if needed make a bungee addon for more precision with the teleportation.
Hello,
On my server NoCheatPlus keep detecting that players are cheating while crossing portals. Please update and use the NoCheatPlus API to fix this annoying glitch.
To whom it may concern,
I'm trying to use a BungeeCord server with your portals plugin to move players from one Bungee server to the next. However, while moving between my lobby server and my other server (I'll just call it 'A'), I get teleported into the portal on the other server (so for example, from my lobby to A works fine, but then when I get back to my lobby, I get teleported into the portal over at my lobby and I go to the portal over at A's side, then go to the lobby, and it repeats. The timeout helps, but it's a great annoyance. I have set up both the destination tags and the bungee server tags.
Is there a way to solve this? I'm running a login plugin on the lobby server (UltraAuth) with FastLogin, other plugins are (on the lobby server and server A):
EssentialsX (and all the other EssentialsX jars)
PEx
WorldEdit
WorldGuard
and there are some more but they aren't significant mods.
Would really appreciate if you could help! Thanks!
As title says, onclick works for suggest but not executing commands. How it functions or fix it.
[12:10:45] [Server thread/INFO]: This version of craftbukkit is not yet supported, please notify the author and give version v:v1_9_R2
[12:10:45] [Server thread/INFO]: �[0;31;1mAdvanced portals are being disabled!�[m
[12:10:45] [Server thread/INFO]: [AdvancedPortals] Sounds found
[12:10:45] [Server thread/ERROR]: Error occurred while enabling AdvancedPortals v0.0.18 (Is it up to date?)
org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register com.sekwah.advancedportals.listeners.Listeners@1d7e9364 while not enabled
at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:524) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-c5e9a16]
at com.sekwah.advancedportals.listeners.Listeners.(Listeners.java:58) ~[?:?]
at com.sekwah.advancedportals.AdvancedPortalsPlugin.onEnable(AdvancedPortalsPlugin.java:96) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-c5e9a16]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot-1.9.4.jar:git-Spigot-4af49dc-c5e9a16]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.9.4.jar:git-Spigot-4af49dc-c5e9a16]
at org.bukkit.craftbukkit.v1_9_R2.CraftServer.loadPlugin(CraftServer.java:361) [spigot-1.9.4.jar:git-Spigot-4af49dc-c5e9a16]
at org.bukkit.craftbukkit.v1_9_R2.CraftServer.enablePlugins(CraftServer.java:321) [spigot-1.9.4.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.MinecraftServer.t(MinecraftServer.java:416) [spigot-1.9.4.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.MinecraftServer.l(MinecraftServer.java:381) [spigot-1.9.4.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.MinecraftServer.a(MinecraftServer.java:336) [spigot-1.9.4.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.DedicatedServer.init(DedicatedServer.java:268) [spigot-1.9.4.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:532) [spigot-1.9.4.jar:git-Spigot-4af49dc-c5e9a16]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40]
Add PEX support and also new group flags to the portals, as well as the need permission flag(permission will be: advancedportals.use.{portalname}
Once I've read over the gradle userguide gradle support needs to be added.
I have encountered a bug that creates a large number of java null errors. Basicly when I set up the plugin and number only the blocks they throw a large number of java null errors that show in the log file and creates a huge log file. when I deleted the numbering and started with name and name/number this bug goes away. It may be recomended to put in the readme file not to use just numbers or find why this bug is happening. attached is log file.
2016-08-01-8.log.gz
EDIT: FOrgot to put in that I am using Spigot 1.10.2 (built from tool on web site) with advancedportals, antilag, backpacks, enderdragonrespawner, essentials 2.x, essentialsspawn 2.x, silkspawner, worldedit, and zpermissions for plugins besides this one.
Any teleport command in the portal event gets canceled.
Add a pos1 and pos2 command so that the users can set their current position as the poition 1 or 2.
Add a portal argument for portal commands. Also add tags such as @player or whatever to replace the current users username into the command.(mostly for if a server command is executed)
Add startings to the commands, so nothing is normal user, / is as op and - is execute as the server.
Hi, is it possible toadd the warp message inside the config.yml so I can translate it?
Thank you
Commands could be executed when people enter a portal so you have the option there for if you need to do anything.
The command replies with this error message: "There are no currently defined destinations."
When the teleportation destination is in another world it TPs, but then teleports immediately back to the portal.
When the destination is in the same world it says teleporting... (Essentials message) but it does not teleport.
There's a litte problem with the /portal portal command.
If I type it, the chat says "You have been given a Portal Block!" but I don't get one :/.
There's no error in the console and I'm using the latest version of spigot.
I created a portal to my creative server, and it actually worked. However, when I use /server lobby to return to the lobby, I return to the lobby server, but im still in the portal. Now when I move, I get sent back to creative.
Overwrites warp commands from other servers so add to the config to allow use only when wanted.
What are your reasons for not choosing the GPL? Have you looked at the AGPL?
This will stop users using the plugin to escape areas or fights in survival. Also possible add a per world warp channelling time for the command but not the portals.
Caused by: java.lang.NullPointerException
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66-internal]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_66-internal]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_66-internal]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:52) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:759) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerInteractManager.interact(PlayerInteractManager.java:463) [server.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:228) [server.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-db6de12-18fbb24]
org.bukkit.event.EventException
[17:33:34] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to AdvancedPortals v0.0.9
When i do /desti Remove {Name} It Says: No Destination By that name exists
i created a destination portal in world 1 then i created a portal in world 2 with destenation world1.
when i move anywhere on anymap i fly up and i cant stop have to reboot server ?
What do you think about a function whose set a portal at the position of the player for circle or triangle portal or custom portal ? it's just what AncientGates plugin do but it's an outdated plugin :)
Add pre made portals so it will just appear centered on the block you aim at, all the normal features work but it will will have example premade ones.
For some unknown reason you are teleported into the sky when a portal is created.
Make a plugin api that has events the plugin has made and also other plugins are able to trigger things inside the plugin.
Add at least a few more flags such as vault support or support with many other plugins. Also the ability for addon plugins to register new filters and execute custom code.
Even allow addons to stop teleportation so it doesn't interfear with the new code.
Hi,
When I add the permission "advancedportals.createportal" to my group, I can make a portal without any problem, but I can't do the command /destination create, it says that I don't have the permission to create portals, it is as if the permission for /destination is not the same as /portal, unlike what the wiki says, cause when I OP myself I can do the command /destination
Add the list commands and the actual help menu
I cant jump into my portal when its water, and i wish it to have water work and i went into config and make the portal trigger "WATER" without the ", please help.
Use different tyoes of portals so if defined the plugin will check if you are currently in the selected block such as portal water, lava or any other block you can walk through.
If the portal doesnt have a trigger block there is also the portal where it is triggered when you walk into the area.
I've tried to create a Pom file but Java and Maven is not my beach has i'm mainly a c# dev.
The problem is that i need to get all the dependencies...
src/com/sekwah/advancedportals/compat/bukkit/v1_10_R1.java:[3,37] package net.minecraft.server.v1_10_R1 does not exist
I think i'm missing craftbukkit. i have this in my pom:
<dependency> <groupId>org.spigotmc</groupId> <artifactId>spigot-api</artifactId> <version>1.10-R0.1-SNAPSHOT</version> <scope>provided</scope> </dependency> <!--Bukkit API--> <dependency> <groupId>org.bukkit</groupId> <artifactId>bukkit</artifactId> <version>1.10-R0.1-SNAPSHOT</version> <scope>provided</scope> </dependency>
If I have permission to the command it teleport me to the nether sometimes but if I don't have permission to use the command it always teleport me to the nether. For example if i create a portal with this command /portal create name:portal command:"spawn" but they don't have permission for /spawn it will teleport them to the nether.
Hi,
I'm more interested in creating a portal without a destination and only to run a command once a player enters it ( i'm not using it just for this feature and i still want to use the plugin for this as well ).
Apparently i can't create a portal without destination and even if the command should tp the player, the portal gets prioritized and sends him to the configured destination of the portal.
Is there anyway to bypass that?
Thanks
Hi, I just tried to create a portal by using a "command:somecommand" syntax, where I forgot to enclose somecommand in quotes. This has completely slowed down the server until the point it fell over. Furthermore, trying this with quotes, it ignored the closing one and took everything after the closing quote as a command, resulting in this set as a command to execute: "rtp" triggerblock:water (rtp is the actual command)
Update: upon further investigation, the command syntax does not work even when it's the last thing left in the chat line. It still freezes and crashes the server. This is all Spigot 1.8.8
What do you think of using ProtocolLib and WorldEdit instead of using the custom stuff we have now?
Suggestion from Sequacious
Love the plugin, just have a feature request although it's totally cool if you don't want to do it.
Would it be possible to have portals act like Nether Portals but for a world the user defines?
e.g
I have the worlds
Overworld
Aether
Overworld_nether
Overworld_the_end
I define a portal in Advanced Portals, and it acts like Nether portals do, but only for the Aether world
Hi, I didn't get the chestcommands to work for example.
This is what i did.
1st portal location: /portal create name:1 desti:11 command:"#chestcommands open example @player"
first spawn location: /desti create 11
the console seems to say it's working fine and executing correctly. But I don't see it doing the actual work for example, there's no menu popping out with what the chestcommand was supposed to do.
Here's the console message. Doesn't seem to be helpful. But it's what has happened.
[02:41:02] [Server thread/INFO]: [AdvancedPortals] Portal command: #chestcommands open example CornChowderSoup
[02:41:02] [Server thread/INFO]: [AdvancedPortals] Portal command: chestcommands open example CornChowderSoup
[02:41:02] [Server thread/INFO]: Opening the menu "example.yml" to CornChowderSoup.
CraftBukkit version git-Bukkit-624c97f (MC: 1.8.3)
AdvancedPortals v0.0.5
PermissionsEx v1.23.1
Create the portal like this
/portal create name:test desti:a01 triggerblock:AIR permission:art.test
then give permission node "art.test" by PermissionsEx
player still can't use test portal
display:[AdvancedPortals]You do not have permission to use this portal
if use Advanced-Portals,it will affect the Nether gate
Break the Obsidian,portal block still exist
So I just loaded up the plugin, and by reading through the list of commands either the documentation is wrong or the plugin is seriously messed up.
/portal help - Gives me the error message: "You need to type something after /portal If you do not know what you can put or would like some help with the commands please type "/portal help"".
/portal list - Doesn't work (not sure if its suppose to be an option, would be nice to see it added if isn't).
/portal portal - Doesn't give you a portal block.
The following procedure did not work for creating portals either:
/desti create spawn
/portal selector - I select each side.
/portal create name:spawn desti:spawn (I also tried using bungee:hub as another destination).
It successfully creates the portal, or so it says.
The files exist for both the destination and portal, but it doesn't seem to add the destination upon file creation (after multiple different ways of creating/comparing the files).
I even tried manually adding destination to the portals file, and that didn't work out either, complaining the destination doesn't exist (when its in the destination files (case sensitive also)!
Bungeecord also doesn't work using the create command, but when I added it in the configuration manually it actually worked.
I also attempted to manually add tppos instead of a destination and that didn't work either, returning a "destination doesn't exist/config corrupted" (no, the config wasn't corrupted, all YAML order was kept proper).
Thats all I have to say atm. It would be nice to be able to remove the /warp command, as it does mess with other warp plugins.
I used a version downloaded from SpigotMC.
Upon right/left click
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.