Portal Gun

Discussion in 'Plugin Requests' started by Shikishima, Jan 24, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    Shikishima

  2. Offline

    Shikishima

    @MrDaniel
    bump, is this still being worked on?
     
  3. Offline

    Shikishima

  4. Offline

    Shikishima

  5. Offline

    Shikishima

  6. Offline

    Shikishima

  7. Offline

    Shikishima

  8. Offline

    Shikishima

    bump (im serious about this plugin im not stopping until something happens)
     
  9. Offline

    Shikishima

  10. Offline

    Shikishima

  11. Offline

    insanj

    I'm going to fork the original project and clean up the bugs. I'm not sure if the original developer is intending to update the plugin at any point, and I'm willing to take that ownership! Will post an edit here when I have something working, which will be tonight or tomorrow.

    ---

    Edit:

    Source code is available here:
    https://github.com/insanj/portal

    JARs will be attached to releases here:
    https://github.com/insanj/portal/releases

    I will have the changelog attached to those releases, and I'll post here when one has the improvements required to get this plugin working.
     
    Last edited: Mar 4, 2019
  12. Offline

    Shikishima

    @insanj thank god someone finally wants to help me :D i feel like no one here wants to do anything but thats just me. if you could clean up the original project and get the features i requested working it would be greatly apreciated thank you :D
     
  13. Offline

    CraftCreeper6

    @Shikishima
    People are happy to work on plugins they are passionate or intrigued about. I originally looked at this idea and thought it was a nice idea and that I could take the request, but then I saw the part about particles and I was kind of led away from it because I don't like working with particles. It's different for all developers, but that's my personal opinion.
     
  14. Offline

    Eccentric_Gamer

    The same goes for me, as I was considering it until I found parts I really didn't like. :/
     
  15. Offline

    Shikishima

  16. Offline

    insanj

    I think every developer has their own ideas in their head, and this forum helps match them with other people with cool, similar ideas in demand. It's always hard to find people willing to work on something experimental or personal... but I think that adds more to the reward!

    Either way, glad to be of service! Portal will be runnable with all the components laid out in the original post before the end of the week. After refactoring the codebase and choosing to keep only a small portion of the original, I think this project will work really well in the next version of Minecraft too. [diamond]
     
  17. Offline

    Shikishima

    @insanj sounds excellent to me, i thank you for your hard work :)
     
  18. Offline

    insanj

    Good news!! I just finished the 1.0 version of this plugin, and it works really well for me on Minecraft 1.13.2. Once I test it out a bit more I'll publish it to Bukkit/Spigot instead of just Github.

    Check it out when you have the chance:
    https://github.com/insanj/portal/releases/download/1.0.0/portal-1.0.0.jar

    Instructions and screenshots here:
    https://insanj.github.io/portal/

    There are no dependencies (unlike previously requiring ProtocolLib). It also most likely only works on 1.13.2, and not previous versions, but I can add backwards compatibility if desired.

    The only major difference between your idea and the implementation is the GUI -- instead of using a Sign, I used an Anvil. This is only because it's much easier to work with in version 1.13, and it accomplishes the goal in a rather straightforward way.

    Let me know if you have any bugs or suggestions, I'll be trying to improve the plugin for a bit longer before "officially" releasing 1.0.

    ---

    Edit 1 (3/7/19):

    TODO
    1. I'm going to look into showing the Anvil GUI separately to input the X,Y,Z and the WORLD NAME, because it appears the text gets limited pretty quickly when typing in a long name/coordinate point. Should have this improvement done tomorrow.

    ---

    Edit 2 (3/8/19):

    Done! Published 1.1.0 with the new UI to Github. Now it asks for x, y, z, and world separately so if any of them are rather long, it still works! Let me know if you have any issues. Once I'm confident all the bugs are ironed out I'll upload to Bukkit Forums.

    https://github.com/insanj/portal/releases/tag/1.1.0
     
    Last edited: Mar 8, 2019
  19. Offline

    Shikishima

    @insanj apologies i have been quite busy with work, i will give the plugin a go when i have some time to spare im sure it works out awesome :)
     
  20. Offline

    Shikishima

    @insanj
    [21:44:46 ERROR]: Could not load 'plugins\portal-1.1.0.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/insanj/portal/Portal has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:134) ~[craftbukkit.jar:git-Bukkit-a5b9c7b]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:326) ~[craftbukkit.jar:git-Bukkit-a5b9c7b]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:248) [craftbukkit.jar:git-Bukkit-a5b9c7b]
    at org.bukkit.craftbukkit.v1_13_R2.CraftServer.loadPlugins(CraftServer.java:322) [craftbukkit.jar:git-Bukkit-a5b9c7b]
    at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:196) [craftbukkit.jar:git-Bukkit-a5b9c7b]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:675) [craftbukkit.jar:git-Bukkit-a5b9c7b]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
    Caused by: java.lang.UnsupportedClassVersionError: me/insanj/portal/Portal has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0
    at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_191]
    at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_191]
    at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_191]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:130) ~[craftbukkit.jar:git-Bukkit-a5b9c7b]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:80) ~[craftbukkit.jar:git-Bukkit-a5b9c7b]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_191]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_191]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_191]
    at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_191]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:58) ~[craftbukkit.jar:git-Bukkit-a5b9c7b]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:130) ~[craftbukkit.jar:git-Bukkit-a5b9c7b]
    ... 6 more
    [21:44:46 INFO]: Preparing level "world"
    [21:44:46 INFO]: Reloading ResourceManager: Default, bukkit
    [21:44:47 INFO]: Loaded 524 recipes
    [21:44:48 INFO]: Preparing start region for level minecraft:eek:verworld (Seed: 4696755508701874811)
    [21:44:49 INFO]: Preparing spawn area: 4%
    [21:44:49 INFO]: Preparing spawn area: 8%
    [21:44:49 INFO]: Preparing spawn area: 12%
    [21:44:49 INFO]: Preparing spawn area: 16%
    [21:44:49 INFO]: Preparing spawn area: 20%
    [21:44:49 INFO]: Preparing spawn area: 24%
    [21:44:49 INFO]: Preparing spawn area: 28%
    [21:44:50 INFO]: Preparing spawn area: 32%
    [21:44:50 INFO]: Preparing spawn area: 36%
    [21:44:50 INFO]: Preparing spawn area: 40%
    [21:44:50 INFO]: Preparing spawn area: 44%
    [21:44:50 INFO]: Preparing spawn area: 48%
    [21:44:50 INFO]: Preparing spawn area: 52%
    [21:44:50 INFO]: Preparing spawn area: 56%
    [21:44:50 INFO]: Preparing spawn area: 60%
    [21:44:50 INFO]: Preparing spawn area: 64%
    [21:44:50 INFO]: Preparing spawn area: 68%
    [21:44:51 INFO]: Preparing spawn area: 72%
    [21:44:51 INFO]: Preparing spawn area: 76%
    [21:44:51 INFO]: Preparing spawn area: 80%
    [21:44:51 INFO]: Preparing spawn area: 84%
    [21:44:51 INFO]: Preparing spawn area: 88%
    [21:44:51 INFO]: Preparing spawn area: 92%
    [21:44:51 INFO]: Preparing spawn area: 96%
    [21:44:51 INFO]: Preparing spawn area: 100%
    [21:44:51 INFO]: Preparing start region for level minecraft:the_end (Seed: 4696755508701874811)
    [21:44:51 INFO]: Preparing spawn area: 4%
    [21:44:51 INFO]: Preparing spawn area: 8%
    [21:44:51 INFO]: Preparing spawn area: 12%
    [21:44:51 INFO]: Preparing spawn area: 16%
    [21:44:51 INFO]: Preparing spawn area: 20%
    [21:44:51 INFO]: Preparing spawn area: 24%
    [21:44:51 INFO]: Preparing spawn area: 28%
    [21:44:51 INFO]: Preparing spawn area: 32%
    [21:44:51 INFO]: Preparing spawn area: 36%
    [21:44:51 INFO]: Preparing spawn area: 40%
    [21:44:51 INFO]: Preparing spawn area: 44%
    [21:44:51 INFO]: Preparing spawn area: 48%
    [21:44:51 INFO]: Preparing spawn area: 52%
    [21:44:51 INFO]: Preparing spawn area: 56%
    [21:44:51 INFO]: Preparing spawn area: 60%
    [21:44:52 INFO]: Preparing spawn area: 64%
    [21:44:52 INFO]: Preparing spawn area: 68%
    [21:44:52 INFO]: Preparing spawn area: 72%
    [21:44:52 INFO]: Preparing spawn area: 76%
    [21:44:52 INFO]: Preparing spawn area: 80%
    [21:44:52 INFO]: Preparing spawn area: 84%
    [21:44:52 INFO]: Preparing spawn area: 88%
    [21:44:52 INFO]: Preparing spawn area: 92%
    [21:44:52 INFO]: Preparing spawn area: 96%
    [21:44:52 INFO]: Preparing spawn area: 100%
    [21:44:52 INFO]: Preparing start region for level minecraft:the_nether (Seed: 4696755508701874811)
    [21:44:52 INFO]: Preparing spawn area: 4%
    [21:44:52 INFO]: Preparing spawn area: 8%
    [21:44:52 INFO]: Preparing spawn area: 12%
    [21:44:52 INFO]: Preparing spawn area: 16%
    [21:44:52 INFO]: Preparing spawn area: 20%
    [21:44:52 INFO]: Preparing spawn area: 24%
    [21:44:52 INFO]: Preparing spawn area: 28%
    [21:44:52 INFO]: Preparing spawn area: 32%
    [21:44:52 INFO]: Preparing spawn area: 36%
    [21:44:52 INFO]: Preparing spawn area: 40%
    [21:44:52 INFO]: Preparing spawn area: 44%
    [21:44:52 INFO]: Preparing spawn area: 48%
    [21:44:52 INFO]: Preparing spawn area: 52%
    [21:44:53 INFO]: Preparing spawn area: 56%
    [21:44:53 INFO]: Preparing spawn area: 60%
    [21:44:53 INFO]: Preparing spawn area: 64%
    [21:44:53 INFO]: Preparing spawn area: 68%
    [21:44:53 INFO]: Preparing spawn area: 72%
    [21:44:53 INFO]: Preparing spawn area: 76%
    [21:44:54 INFO]: Preparing spawn area: 80%
    [21:44:54 INFO]: Preparing spawn area: 84%
    [21:44:54 INFO]: Preparing spawn area: 88%
    [21:44:54 INFO]: Preparing spawn area: 92%
    [21:44:54 INFO]: Preparing spawn area: 96%
    [21:44:54 INFO]: Preparing spawn area: 100%
    [21:44:54 INFO]: Time elapsed: 5488 ms
    [21:44:54 INFO]: Server permissions file permissions.yml is empty, ignoring it
    [21:44:54 INFO]: Done (8.155s)! For help, type "help"
     
    Last edited: Mar 13, 2019
  21. Offline

    insanj

    @Shikishima I believe this is because you're running Java 8 instead of 10, but I could be mistaken. I can upload some more versions to Github tomorrow!

    Code:
    Caused by: java.lang.UnsupportedClassVersionError: me/insanj/portal/Portal has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0
     
  22. Offline

    KarimAKL

    @insanj Isn't Java 8 the more used version for Minecraft? If i remember correctly it's because Minecraft was created with Java 8 because nothing newer was out at the time.
     
    insanj likes this.
  23. Online

    timtower Ninja on the waves Moderator

    It is, that is why compiling with java 8 is the best way to go.
     
    insanj and KarimAKL like this.
  24. Offline

    insanj

    Last edited: Mar 15, 2019
  25. Offline

    Shikishima

    @insanj
    i just tested the plugin and it seems to work quite well, if possible tho could you make it so the particles are more portal shaped and stay in one place for a little while until the portal closes. if possible too could you add it so the portal gun shoots a projectile and where the projectile lands is where the portal opens up? this is only optional but it would be nice to see
     
    Last edited: Mar 17, 2019
  26. Offline

    insanj

    Loving the feature requests. Glad to hear the requested mod works! I'll release the current version as 1.1.1, and I can look into adding those new ideas into 1.2 during the week.

    Edit:

    Submitted! https://dev.bukkit.org/projects/portal-for-1-13
     
    Last edited: Mar 19, 2019
  27. Offline

    Shikishima

    @insanj plugin is very clean and works well. cant wait to see new features soon
     
  28. Offline

    insanj

    Yay that's awesome to hear! I'm working on the new features this weekend, trying to take some inspiration from existing Portal Gun mods. In addition to better particle effects, I think I might let people customize the specifics of the mod through a config.yml file (ex: the fuel and custom sound effects). Will post an update to the plugin page when it's ready, so you can follow that for updates as well.
     
  29. Offline

    Shikishima

    @insanj sounds good to me, cant wait to see your work
     
    insanj likes this.
  30. Offline

    insanj

    Update is ready to go. Let me know how it works for you, particularly if the new effects cause any lag. I've played around with this version a lot and it feels really awesome!

    https://github.com/insanj/portal/releases/tag/1.2
     
Thread Status:
Not open for further replies.

Share This Page