Inactive [ADMN/MECH] SignRank v1.2.2 - Promote people automatically using signs [1.0.0]

Discussion in 'Inactive/Unsupported Plugins' started by coolblinger, Aug 3, 2011.

  1. Offline

    coolblinger

    SignRank - Promote people automatically using signs

    Project moved to BukkitDev
     
  2. Offline

    WiLDiSH

    So make a sign that says:

    [SignRank]
    Rank-name


    ?
     
    Insanehero likes this.
  3. Offline

    coolblinger

    @WiLDiSH
    It currently just promotes you to the rank set in the config. (as described in your post)
    Altough that is a pretty good (yet exploitable) idea.
     
  4. Offline

    morizuki

    When they get promoted, they can still changed by rightclicking the signs right?
     
  5. Offline

    coolblinger

    You can only get promoted when you're in the default group.
     
  6. Offline

    oxguy3

    There's a typo in the Help section you may want to fix. explenation >>> explanation.

    Otherwise, I think this looks like a good candidate for Plugin Releases.
     
    coolblinger likes this.
  7. Offline

    morizuki

    ok that's great.. XD
     
  8. Offline

    coolblinger

    Thanks, my spell checker does not work in here. :)
     
  9. Offline

    Insanehero

    Please make it so you can be in any group to change your rank.
     
  10. Offline

    WiLDiSH

    or at least, configurable.
    Cause I dont want normal ranked people to click that and then be demoted.
     
  11. Offline

    Sh00ck

    Nice Thanks :D
     
  12. Offline

    coolblinger

    That sort of defeats the whole purpose of this plugin. :p
     
  13. Offline

    Tauryuu

    Nope. Some people use permissions to create a class system. This allows people who switch classes without asking the admin.
     
  14. Offline

    Insanehero

    Could you atleast make it configurable?
     
  15. Offline

    coolblinger

    I did not think of that, it should be done in an hour or so.

    I've uploaded version 1.1. You can now specify the group name in the second line of the sign. (this can be enabled in the config file).
    More information on this can be found here.

    You can specify the name of the group you want people to be promoted to in the config file. :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  16. Offline

    Insanehero

    Just a heads up, the version download still says 1.0.1

    Getting this error on CB 1000 and the latest download of SignRank:

    Code:
    14:03:30 [SEVERE] Could not pass event PLAYER_INTERACT to SignRank
    java.lang.NoSuchMethodError: com.nijiko.permissions.User.getPrimaryGroup()Lcom/nijiko/permissions/Group;
            at me.coolblinger.signrank.listeners.SignRankPlayerListener.onPlayerInteract(SignRankPlayerListener.java:54)
            at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:03:31 [SEVERE] Could not pass event PLAYER_INTERACT to SignRank
    java.lang.NoSuchMethodError: com.nijiko.permissions.User.getPrimaryGroup()Lcom/nijiko/permissions/Group;
            at me.coolblinger.signrank.listeners.SignRankPlayerListener.onPlayerInteract(SignRankPlayerListener.java:54)
            at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
            at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:63)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:458)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  17. Offline

    coolblinger

    There's something wrong with your Permissions3 plugin, you probably run an older version of Permissions.

    I've uploaded version 1.1.1. Apparently the permissions check (for creating and destroying signs) did not work in the last version. I've also implemented an update check. (it does not automatically update, because that tends to cause a lot of issues)

    EDIT: I forgot to call the update check...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  18. Offline

    Sh00ck

    Code:
    2011-08-04 23:08:43 [SEVERE] Could not load 'plugins/SignRank.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: me/coolblinger/signrank/SignRank : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        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)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:207)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:130)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Help :D ?

    @coolblinger
     
  19. Offline

    coolblinger

    When are you getting this? It works fine for me.

    EDIT: I'm not sure, but I compiled this using the latest JDK (version 1.7), and you're probably running JDE 6 (version 1.6), but this should not cause any problems.
     
  20. Offline

    Sh00ck

    ähm..

    i'm getting this since 50Minutes ;)
    ähm this is not local on my PC .. (I mean the Server is not local at my PC)
    This is on another's Root ;P

    @coolblinger
     
  21. Offline

    Insanehero

    I am getting the same problem...

    18:03:23 [INFO] Starting Minequery server on *:25566
    18:03:24 [SEVERE] Could not load 'plugins/SignRank.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: me/coolblinger/signrank/SignRank : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    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:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:207)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:130)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  22. Offline

    Sh00ck

    @coolblinger
    Can you help us?
     
  23. Offline

    coolblinger

    @Sh00ck @Insanehero
    I guess it's my JDK, I've updated to version 1.7 (which came out on the 28th of July) and most people still have JDE 6, so I guess I'll have to download an old version and recompile this plugin.
     
  24. Offline

    Sh00ck

  25. Offline

    coolblinger

  26. Offline

    Sh00ck

    @coolblinger Thanks!
    Then the next Question :
    Does this write in the GLOBAL or in the WORLD Settings for the Group ?
    i need Global...
     
  27. Offline

    coolblinger

    @Sh00ck
    It sets groups globally when using PermissionsBukkit (since there are no per-world config files) and per-world for Permissions3.
     
  28. Offline

    Sh00ck

    ah nice i use PermissionsBukkit

    Thanks.
    i will try :D


    Edit//
    Does not work.
    It does not create the Folder...

    @coolblinger
     
  29. Offline

    coolblinger

    Which folder? It works fine for me.
     
  30. Offline

    Sh00ck

    The Folder for the Config...
    This does not work :(
     

Share This Page