[CHAT] WordRank v3.0 - Add users to groups when they say a word [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by LaLa, Jul 15, 2011.

  1. Offline

    LaLa

    [​IMG]
    Old post:

    Old Post
    WordRank by LaLa
    Version 1.1.1
    Requires: Permissions 3.x
    Downloads: 1079 (updated daily)

    This plugin was made for this request. With WordRank, you can create and configure special words, that if said, will place the player in the set group of that word. Multi-world compatible!

    Features:
    • Create words to add people to groups when said
    • Permissions support
    Commands (open)


    • /w add [word] [group] [world] - Add a word (If world left blank, will use the current one)
    • /w remove [word] - Remove a word
    • /w removeall - Remove all configured words
    • [word] - Simply type the word to 'redeem' your group


    Permissions (open)

    • WordRank.add - Add a word (/w add)
    • WordRank.remove - Remove a word (/w remove)
    • WordRank.remove.all - Remove all words (/w removeall)
    • WordRank.say - Allows a group to say words that gives them a group
    • WordRank.[word] - (Replace word with a configured word) Gives permission to only use said word


    Download v1.1.1 | Older versions
    Source code

    Changelog:
    Version 1.1.1:
    • Updated for build 1000, probably not required
    Version 1.1

    • You can now specify what world the word gives the group to (argument not required-left blank it will get the world you are in when you set the word)
    • WordRank will now remove all groups before adding the new group (requested by @GmK )
    • Sorry, couldn't get the option for all worlds to work [creeper] .. I'll try again next update..
    Version 1.0

    • First release
     
  2. Offline

    DJ_Idol

    Hm..I've tried using it with this, but I guess since this plugin doesn't use actual "/command" commands, it's not working?
     
  3. Offline

    treeetrunks

    that was my problem, so i decided i'd try it with /ping as the ranking word but my entire wordrank plugin stopped working and it just says /w - see forum post for complete syntax
     
  4. Offline

    XxXLuisXxX

    Hey, could you add a MySQL compatiblity, so the Words would be save in a MySQL Database?
     
  5. Offline

    TheLonelyIsland

    The plugins works like this, say your word is 'monster' (notice the non-existant slash?) and the player says monster on its own in chat
    They recieve the rank!
     
  6. Offline

    treeetrunks

    except for if you want to charge players for ranking up with wordrank, you're basically screwed since command iconomy only works with /commands and not with words. i found a solution with a similar plugin. thanks for the help though
     
  7. Offline

    TheLonelyIsland

    I am sure that Lala may add in the feature to pay for each command in the future, you could however alias the promote command and the debit commands into one for now i suppose.
     
  8. Offline

    jochem261

    i get an error when i enter the word. What am i doing wrong?
    Code:
    03:09:46 [SEVERE] Could not pass event PLAYER_CHAT to WordRank
    java.lang.NullPointerException
            at com.nijiko.permissions.Entry.addParent(Entry.java:183)
            at com.lala.wordrank.Config.addParent(Config.java:97)
            at com.lala.wordrank.Chat.onPlayerChat(Chat.java:21)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
    va:279)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            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)
     
  9. Offline

    LaLa

    Do you have permissions 3.x?
     
  10. Offline

    zecheesy

    Can you make it work with permissions 2.7.3????

    ALL of the "rank" commands do not include 2.7.3!!! ):
     
  11. Offline

    jochem261

    Yea version 3.1.6
     
  12. Offline

    Rileyb80

    Would it be possible to make it so if someone type <word> <player name> it puts that person in a group.

    And if you could add an option to add the person who added them in front that would be great too.

    You should use - instead of /

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

    ewized

    can you make it so they say one word it ranks them in all worlds.
     
  14. Offline

    kazimir

    Code:
    2011-08-15 00:03:56 [SEVERE] Could not pass event PLAYER_CHAT to WordRank
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.CraftServer.getWorld(CraftServer.java:563)
        at com.lala.wordrank.Config.getWordWorld(Config.java:48)
        at com.lala.wordrank.Chat.onPlayerChat(Chat.java:18)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        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)
    Strange error...a few days ago it worked properly!
     
  15. Offline

    mrvertigo27

    trying to add a word to no avail i get "/w - see forum post for complete syntax" with the following command
    Code:
    /w add testiberger default myawesomeworld
    world name and word have been changed for security reasons
     
  16. Offline

    LaLa

    @kazimir

    Either that world may not exist anymore or in the configuration the world is spelled wrong or something along that.

    @mrvertigo27

    I coded it so there are 3 possibilities (bad on my part)

    1 you don't have the permission
    2 arguments are not long enough (impossible)
    3 add != add (impossible)

    So it looks like you don't have the right permission node to add a group.
     
  17. Offline

    mrvertigo27

    @LaLa

    o, so i ..... ok since i use the built in perms the permissions node would be superpermsbridge.WordRank.add right?

    might i request a more robust set of error messages?
     
  18. Offline

    rockiesfan1234

    How am i able to make it so one word ranks you up on all worlds?
     
  19. Offline

    Mrlovecraft

    Code:
    03:56:13 [SEVERE] Could not pass event PLAYER_CHAT to WordRank
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getUserObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/User;
        at com.lala.wordrank.Config.addGroup(Config.java:102)
        at com.lala.wordrank.Chat.onPlayerChat(Chat.java:27)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:706)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Help?
    i use bpermissions
    with
    default:
    - WordRank.say
    config.yml:
    hi:
    group: member
    world: world
     
  20. Offline

    Diagonalspoon

    I would really really love to use this plugin, Its too bad I have GroupManager. Do you know of any guide to help me migrate over? I cannot find one anywhere!
     
  21. Offline

    LaLa

    Only Permissions 3.x is supported atm.

    Planned feature

    Only Permissions 3.x is supported. More permission plugins will be supported soon.

    I recommend just going to the default permissions plugin or bpermissions sense permissions 3.x is slowly loosing support. I will be adding support for it soon.
     
  22. Offline

    Mrlovecraft

    Thanks for the reply! I thought bPermissions was backwards compatible with Perm3.x and my problem was somewhere else. Anyway This is a great plugin that gives me many ideas how I could play with perms for members making there game play much more fun :D
     
  23. Offline

    GmK

  24. Offline

    LaLa

    You are able to use the new permission system for the actual 'permissions' like WordRank.add or whatever. The issue is that there isn't a global node for a player's group, so each plugin needs to be supported separately. I didn't expect this plugin to be popular at all-but now I guess I need to really work on it.
     
  25. Offline

    Diagonalspoon

    Hey, I would love this plugin to support permissionsex!
     
  26. Offline

    slater96

    +1 to this
     
  27. Offline

    rediem

    Please update for BukkitPermissions. :(
     
  28. Offline

    zecheesy






    HELP!
    I don't have permission to say the word, even after I added permissions ):
    Heres a video of what I did: http://www.youtube.com/watch?v=PZIE_3j1GnA
     
  29. Offline

    LaLa

    You formatted the permission wrong. It should be just
    - WordRank.say
     
  30. Offline

    zecheesy

    Thanks. I'm horrible when it comes to Permissions.
     
  31. Offline

    hallo231

    can you make it compatible with groupmanager?
    would be very nice!
    thanks..
     

Share This Page