Solved Finished.

Discussion in 'Plugin Help/Development/Requests' started by drty27g8tor, Dec 13, 2014.

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

    drty27g8tor

    Plugin category: WorldGuard

    Suggested name: PerRegionTablist

    What I want: I want a plugin whhere you can make a region /rg define {name} and then you can do /prtl (perregiontablist) {regionname} and who ever is in that region the tablist shows who's in that region only? Unless you move to another region, but also if you could make it world based at the same time that would be good! Basically I just want it to show the people in a specific region on the tablist.

    Ideas for commands: /prtl true/false {regionname} So if set to true it shows who's in that tablist if set to false it just shows the people in that world.

    Ideas for permissions: None, but if you have ideas for one simple permission just comment.

    Thankyou. Like to hear from you guys soon.
     
  2. Offline

    xMrPoi

    This could be done with the customworldguardflags api if any developer is going to do this. It's a pretty good idea; I like it.
     
  3. Offline

    drty27g8tor

    @xMrPoi Do you know anyone who might want to do it? I really need it.
     
  4. Offline

    xMrPoi

    Not anyone in specific. I don't have a lot of time to make plugins though so I wouldn't be able to.
     
  5. Offline

    drty27g8tor

    @xMrPoi How long would it take though to make the plugin? Because dude I really need it so can you please!
     
  6. Offline

    xMrPoi

    Sorry man, I just don't have a lot of time! :(
     
  7. Offline

    drty27g8tor

    @xMrPoi How long will the plugin take to do if you did do it?
     
  8. Offline

    xMrPoi

    I am not doing it
     
  9. Offline

    drty27g8tor

    Is anyone willing to help me out please?
     
  10. Offline

    drty27g8tor

  11. Offline

    drty27g8tor

  12. Offline

    drty27g8tor

    Bump if anyone is interested please comment..
     
  13. Offline

    TwerkinCraft

    I'll look into it, but I have never used the World Guard API and I have never had to edit the Tablist. May have bugs.

    EDIT: Figured out how to remove and add players to/from the tab list, now trying to find the World Guard API.
     
    Last edited: Dec 24, 2014
  14. Offline

    Laxer21117

    I was going to but it seems @TwerkinCraft has it handled and if he doesn't I will look into it. But I am with him and have never used the WG API.
     
  15. Offline

    TwerkinCraft

    Almost done with it, making commands.
     
  16. Offline

    drty27g8tor

    @TwerkinCraft Is there a way I can test the plugin like on a test server to see if it is all working well?
     
  17. Offline

    TwerkinCraft

    You can make a test server locally on your computer (access with localhost) with the plugins ProtocolLib, WorldGuard, WorldEdit, and the one i am currently making to test for bugs, then I can try to fix them. However, considering this plugins is one that modifies the tab list based on online players, you will need more than just yourself on the server so you will have to port forward or have someone else on your home network join the server.
     
  18. Offline

    drty27g8tor

    @TwerkinCraft Why will I need ProtocolLib, WorldGuard, and WorldEdit? I mean I understand why I need WorldGuard and WorldEdit but ProtocolLib?
     
  19. Offline

    TwerkinCraft

    World Guard requires Worldedit. This plugin uses protocol lib to remove the players from the tablist, the part im doing is removing them only if they aren't in the same region.
     
  20. Offline

    drty27g8tor

    @TwerkinCraft What if they are in the region and the server has show players or hide players plugin is there a way so if they turn it off they dissapear and if they enable they come back?
     
  21. Offline

    TwerkinCraft

  22. Offline

    drty27g8tor

    @TwerkinCraft The plugin didn't work

    What version did you make it for?

    @TwerkinCraft validate the path to main class in plugin.yml as that is the error in console

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Dec 29, 2014
  23. Offline

    TwerkinCraft

    oh wow, i probably made a mistake typing the main class path,
    Should i have it update the tablist for a specific player whenever he moves to another block or just update it for everyone every x seconds?

    EDIT: Link updated
     
  24. Offline

    drty27g8tor

    @TwerkinCraft When ever he movies to another region?

    Some reason the plugin is still not loading @TwerkinCraft

    This is the error:
    Code:
    [16:35:23] [Server thread/ERROR]: Could not load 'plugins/RegionTab.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/gmail/plundermc/requests/RegionChat/RegionChat : Unsupported major.minor version 52.0
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[spigot-1.7.9-1543.jar:git-Spigot-1543]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot-1.7.9-1543.jar:git-Spigot-1543]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot-1.7.9-1543.jar:git-Spigot-1543]
        at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:369) [spigot-1.7.9-1543.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:136) [spigot-1.7.9-1543.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:458) [spigot-1.7.9-1543.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot-1.7.9-1543.jar:git-Spigot-1543]
    Caused by: java.lang.UnsupportedClassVersionError: com/gmail/plundermc/requests/RegionChat/RegionChat : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_65]
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_65]
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_65]
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) ~[?:1.7.0_65]
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71) ~[?:1.7.0_65]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.7.0_65]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_65]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_65]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_65]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[spigot-1.7.9-1543.jar:git-Spigot-1543]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[spigot-1.7.9-1543.jar:git-Spigot-1543]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_65]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_65]
        at java.lang.Class.forName0(Native Method) ~[?:1.7.0_65]
        at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_65]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[spigot-1.7.9-1543.jar:git-Spigot-1543]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot-1.7.9-1543.jar:git-Spigot-1543]
        ... 6 more
     
    Last edited by a moderator: Dec 29, 2014
  25. Offline

    timtower Moderator Moderator

    @drty27g8tor Merged your posts, please use the edit button instead.
    Moved to Bukkit alternatives.
     
  26. Offline

    TwerkinCraft

    I see the problem, it's because i compiled it in java 8 and you are using a different version of java. Ill have to install java 7 and recompile on that, it shouldn't take too long

    EDIT: Link updated
     
    Last edited: Dec 31, 2014
  27. Offline

    drty27g8tor

    Thankyou I appreciate this alot
     
    TwerkinCraft likes this.
  28. Offline

    drty27g8tor

  29. Offline

    TwerkinCraft

    I
    i updated the link for it again this morning, around noon I believe
     
  30. Offline

    drty27g8tor

    I am not sure what the problem is but this is just not working :/
     
Thread Status:
Not open for further replies.

Share This Page