Inactive [FUN/MECH/TELE] PortalGun v1.3 - Then you're here, and then you're there! [740]

Discussion in 'Inactive/Unsupported Plugins' started by BasBloem, Apr 27, 2011.

  1. Offline

    BasBloem

    PortalGun - Then you're here, and then you're there!
    Version: v1.3

    Hi there, I have been silent for a while but I just had to make this plugin :|

    I was so inspired about gameplay possibilities in Portal 2 so I decided to make a plugin for it!
    I think there have been some for single player, but I haven't seen them here yet :D

    This is how it looks while playing!


    Features:
    • Shoot portals(Duh)
    • Permission support("portalgun.use")
    • Warning new permission system! If no permissions are installed, it defaults to op, although I made it say it's allowed to be used by anyone :p
    • Use an orange dye to make the orange portal(Obtained from mixing yellow and red dye from flowers)
    • And a lapis dye to make the blue portal!
    • NEW! Use diodes as launcher, which launces into the diodes direction!(Must be on the first 'toggle' state to function!)
    • NEW! Sugar canes destroy portals(Is there any way to use the cool purple portal block? :( )
    • Use iron boots to stop falling damage, like in the real game!
    • Cannot be placed on 'vulnerable' blocks such as chests, furnaces etc.
    • Just for gameplay I blocked it on obsidian too(And bedrock of course)
    • Keep your momentum/velocity while going through the portal
    • Commands: /resetportal or /rp to remove your portals if you don't use them any more
    • To admins: Chests and such things are protected from portals, so they won't be destroyed
    • When a player logs off, the resetportal command will be automaticly executed
    • Have fun!
    Any tips and ideas will be very welcome, and will be executed, very probably :D

    Bugs should and shall be fixed, if any will be reported!
    Download(v1.3)

    Changelog:
    Version 1.3
    • Permissions support(Use node: "portalgun.use")
    Version 1.2
    • You can now loop through portals without glitching sometimes
    • New glitch/bug: Looping too long might kick you for flying
    • Added message colors
    • Disabled the possibility to destroy portal blocks, so you could get free awesome blue and orange wool! :eek:
    • Ink Sac will now work as a reset shortcut to reset your portals
    • Slabs and stairs will block portals too, now
    Version 1.1
    • Added launcher from Portal 2(Use the redstone diode! Read features for how to)
    • And sugar canes as portal disruptors
    Version 1.0

    • Initial release!
     
    Trololol, trysh, Zirind and 2 others like this.
  2. Offline

    Flayr

    I have an Idea! There should be a setting to use the two 1x2 paintings as the portals and people on your server (if you used that setting) would have those paintings set to look like portals.
     
  3. Offline

    BasBloem

    Added permissions support, it's a global node for the whole plugin for a player:
    portalgun.use
     
  4. Offline

    woodzy

    Code:
    12:45:09 [SEVERE] Could not pass event PLAYER_MOVE to PortalGun
    java.lang.NullPointerException
            at nl.basbloem.portalgun.PortalGunPlayerListener.movePlayer(PortalGunPlayerListener.java:182)
            at nl.basbloem.portalgun.PortalGunPlayerListener.onPlayerMove(PortalGunPlayerListener.java:152)
            at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:242)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:130)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
     
  5. Offline

    Flayr

    If you don't use the painting idea at least make the portals 1 by 2 not 1 by 1. It makes the portals seem dumb, one more thing use orange and blue wool not what you use now as the portals.
     
  6. Offline

    BasBloem

    I use blue and orange wool for portals :|
     
  7. Offline

    Zirind

    So, a friend and I were playing with this and I got curious and tried a couple things. None are bugs per se, but I thought you'd be interested. 1st, using a pixel chip from RedChips, you can change the color of the portals after you set them. 2nd, you can use WorldEdit's wand to change the block of the portal after you set it and at that point you can portal between any two blocks, including air. WorldEdit's super pick will let you break them and get the wool as well.

    BUT THIS IS EPIC THANK YOU lol.
     
  8. Offline

    fol1n

    OMG I feel so stupid!! I can't seem to get the portals to shoot on anything... Help?
     
  9. Offline

    worgan

    i cant seem to make a portal gun?... how do i make one?..
     
  10. I created a portal loop and the first seconds were fine, but then this came:

    Code:
    2011-05-04 21:29:33 [SEVERE] Could not pass event PLAYER_MOVE to PortalGun
    java.lang.NullPointerException
        at nl.basbloem.portalgun.PortalGunPlayerListener.movePlayer(PortalGunPlayerListener.java:182)
        at nl.basbloem.portalgun.PortalGunPlayerListener.onPlayerMove(PortalGunPlayerListener.java:152)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:242)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:130)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Well, in the same monent the client crashed and I had this error. This is the really best portal server plugin and I hope you have a idea why I got it, thanks :)
     
  11. Offline

    Flayr

    ... sorry it looked like lapis in the video, I got the plugin and realized that. Still it would be better if the portals where 1 by 2 not 1 by 1.

    Is it supposed to conserve momentum because it is not on my server.
     
  12. Offline

    hirollin99

    the portals arnt working
     
  13. Offline

    magoo1125

    You should add a configuration file for which blocks are portal-able. But other than that, it works perfectly!
     
  14. Offline

    Lucke1234

    I'm getting this error when I try to shoot a portal :

    Code:
    [SEVERE] Could not pass event PLAYER_ANIMATION to PortalGun
    
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    
    at nl.basbloem.portalgun.PortalGunPlayerListener.onPlayerAnimation(PortalGunPlayerListener.java:200)
    
    at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.java:278)
    
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:750)
    
    at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
    
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler
    
    at java.net.URLClassLoader$1.run(Unknown Source)
    
    at java.security.AccessController.doPrivileged(Native Method)
    
    at java.net.URLClassLoader.findClass(Unknown Source)
    
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    
    at java.lang.ClassLoader.loadClass(Unknown Source)
    
    at java.lang.ClassLoader.loadClass(Unknown Source)
    
    ... 12 more
     
  15. Offline

    Sleepywalker

    Holy cow man - completely amazing plugin works like a dream - fully awesome - well done.
    I love the momentum - If you do it right you can jump off cliffs and launch over Castle walls :)
    Nice one
    Sleepywalker

    PS. I have a request - to be able to use another persons portal as well as your own. Thanks
     
  16. Offline

    Dicilion

    Help...

    19:02:54 [SEVERE] Could not pass event PLAYER_ANIMATION to PortalGun
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    at nl.basbloem.portalgun.PortalGunPlayerListener.onPlayerAnimation(Porta
    lGunPlayerListener.java:200)
    at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.j
    ava:278)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:750)
    at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    >
     
  17. Offline

    Tearow

  18. Offline

    Zane B.

    that's a client mod. i guess u can use that on a vanilla server since it's modloader, just use modloadermp server, but on bukkit you can't do that.
     
  19. Offline

    Tearow

    yea but isnt it possible to make it client side and server side?
     
  20. Offline

    Zane B.

    not on a bukkit server
     
  21. Offline

    Cyberking123

    mabey you could make portal place-able with sticks???? Like left click with a stick for a blue portal and right click for an orange portal. And mabey add in a command that turns the gun on and off? like /pgon and /pgoff? Thanks for reading!
     
  22. Offline

    Armaxxx

    Please fix the error or put a more detailed tutorial, also, put the permission nodes separately, it appears it does not work for me and... i want to use it pleeaasaeeee:oops:
     
  23. Offline

    azngamerzer

    maybe i can make a tutorial video?
     
  24. Offline

    Armaxxx

    you know why i like this plugins either than the stick one?
    because you can place the portals everywhere, althought if the momentum is too big, it wont work, and you can't pass things through it, but i still prefer this one just for that
     
  25. Offline

    disownedpear

    will there be an update for 818
     
  26. Offline

    iggiiggi

    anyone out there with dev chops that can hack together an unofficial version of this for 860? this is one of the few plugins i really don't want to lose.
     
  27. Offline

    goomma

    12:54:59 [SEVERE] Could not pass event PLAYER_ANIMATION to PortalGun
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    at nl.basbloem.portalgun.PortalGunPlayerListener.onPlayerAnimation(PortalGunPlayerListener.java:200)
    at org.bukkit.plugin.java.JavaPluginLoader$15.execute(JavaPluginLoader.java:341)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:791)
    at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    ... 12 more
    12:55:22 [SEVERE] Could not pass event PLAYER_ANIMATION to PortalGun
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    at nl.basbloem.portalgun.PortalGunPlayerListener.onPlayerAnimation(PortalGunPlayerListener.java:200)
    at org.bukkit.plugin.java.JavaPluginLoader$15.execute(JavaPluginLoader.java:341)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:791)
    at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  28. Offline

    LukasMendez

    When I hit a diamond block my man flighs very hight, whats wrong?
     
  29. Offline

    tarsard

    how do u instal the plugin
     
  30. Offline

    Dee508

    can u make a jar. download file ?
     
  31. Offline

    dark2222

    when i use it kick my server me bekose i move to quickly how do i fix it?
     

Share This Page