Giter VIP home page Giter VIP logo

advanced-portals's Introduction

Advanced Portals

Discord

Advanced Portals

An advanced portals plugin for bukkit made by sekwah41 designed to have a wide range of features which are easy to use. It adds a bunch of commands to create and edit portals and destinations. This plugin not only enable normal teleportation but also cross server teleportation for networks using bungee.

Usage

Check out the Tutorial, List of Commands, and List of Portal Tags.

Download

Recode

We are currently slowly working on a complete re-code of the plugin with a full API. For now maintaining the current 1.13+ spigot versions is our main priority.

Usage Data

Usage stats can be found here https://bstats.org/plugin/bukkit/AdvancedPortals

API

The api isn't implemented in this version, sorry for any inconvenience. Check the recode tree for possibly a working recode at some point.

Contributing

Don't worry about updating the file numbers in bungee.yml, plugin.yml and AdvancedPortalsPlugin.java. They will be updated automatically before builds.

Please ensure that your commits are in the following style for PR's

https://www.conventionalcommits.org/en/v1.0.0/

Accepted tags mostly follow the Angular style and are meant to only loosely be followed. When commits close an issue refer in the commit description in the following style (Refs #1, #2, #3)

Types available

  • build: Changes that affect the build system or external dependencies
  • ci: Changes to our CI configuration files and scripts
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
  • refactor: A code change that neither fixes a bug nor adds a feature
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)

Scopes available

Scopes are only needed if relating to specific features just to make them easier to find. I'll expand the list as I work more on the project.

  • proxy (Proxy specific features and issues)

advanced-portals's People

Contributors

dalbodeule avatar fjeddy avatar galster-dev avatar imdanix avatar jascotty2 avatar joo200 avatar kodehat avatar loonybtard avatar maldahleh avatar maxqia avatar omentic avatar prastiwar avatar renovate-bot avatar renovate[bot] avatar rezel avatar sekwah41 avatar silicondev avatar tmantti avatar treemanking avatar xorgon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

advanced-portals's Issues

Permission for /destination create does not work

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

Provide Pom file for compilation with mvn

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>

Teleportation Commands do not work.

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.

Can't return top lobby server

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.

Licensing

What are your reasons for not choosing the GPL? Have you looked at the AGPL?

Double-teleportation using portals

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!

Make pre made portals

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.

Can't get portal block :/.

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.

ProtocolLib / WorldEdit

What do you think of using ProtocolLib and WorldEdit instead of using the custom stuff we have now?

Error in the cmd

When i launch my server in the latest version of spigot i got so many error, i let you see in the screenshot.
error

portal block wand creation

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 :)

World portals

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

Triggerblock only works on solid blocks when you are inside the block.

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.

Crashes on 1.9.4 works fine on 1.9.2

[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]

Wrong command syntax halts the server.

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

Multiple Issues

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.

1.8.3 not working

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 ?

Make different types of portals

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.

Commands when players enter portals

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.

Portal without destination

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

Make a plugin api

Make a plugin api that has events the plugin has made and also other plugins are able to trigger things inside the plugin.

/desti list

The command replies with this error message: "There are no currently defined destinations."

permission setting is not work

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

Add more filters to portals

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.

Protection radius

Blocks within a range of portals will be protected and maybe take into accout, world edit. Liquids should also stop flowing

java null error

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.

Add destination and warp permissions.

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.

chestcommands not working with this plugin

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.

Add PermissionsEX support

Add PEX support and also new group flags to the portals, as well as the need permission flag(permission will be: advancedportals.use.{portalname}

Water Issue (FIXED)

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.

1.8.3 cant give you the portal block item

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)

Console error keeps going.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.