[SEC] MagicWord v1.1 - Griefer prevention and permissions management {Implements Permissions} [1060]

Discussion in 'Inactive/Unsupported Plugins' started by JorganPubshire, Jul 7, 2011.

  1. Offline


    Version: 1.1

    Upon request of BLOWUPFISH, I have made this very simple plugin that requires new users to ask the Admins/Mods for permission to build/destroy. This plugin allows Admins/Mods to easily move players into permissions groups. Players must read a set of rules upon entering the server, if they can say the magic word (/<MagicWord>, configurable) found in the rules then the Admins/Mods will promote them to a group that allows building, destroying, commands, etc...

    Commands (open)

    • /<MagicWord> asks the Admins/Mods permission to build (<MagicWord> is configurable via the config file)
    • /group shows you the different groups that are available
    • /group <PlayerName> shows you what group a player is in
    • /group <PlayerName> <GroupName> changes the group that a player is in
    • /word reminds you of what the magic word is (only for Admins/Mods)
    • /word <NewWord> lets you change the MagicWord (only for Admins/Mods)

    Default Settings:
    • The default MagicWord is: Please (not case-sensitive)
    • The default Admins/Mods are: JorganPubshire (You will have to add Admins/Mods manually in the config file)
    Download/Source Code


    Known Issues:
    • Null pointer is thrown if an incorrect PlayerName is entered for the /group commands (breaks the game)
    • The GroupName is case-sensitive and will confuse permissions if you enter it in the wrong case
    • First release
    • Implemented permissions groups
    • Players that have never played on the server before will be automatically added to the permissions file in the group : Default
    Let me know if you want to see any more features implemented and, as always, PLEASE let me know about any bugs.
    BLOWUPFISH likes this.
  2. Offline


    Hey Sorry to bother you but can you please make it so when they do /<magic word> it puts them into the builder group. And can you please take away the anti build we already have one so if they do /<magic word> they will be put into the builder group which has building rights!

  3. Offline


    Please do what he said! ^^

    In the rules of my server thread, I could have a "magic word" hidden within them that people will only notice if they read all the rules. So if they read all the rules, they would know to do /magicword to get their builder status.
  4. Offline


    changelog has to show 2 last versions without a spoiler
  5. Offline


    So this is for servers without prmissions?
    If i had permissions people would have to be promoted to build anyway correct?
  6. Offline


    Once I post the next update it will include permissions and allow you to change permission groups easily from within the game. It also forces the player to read the servers rules.
  7. Offline


    Can you disable anti build because then I have to approve all the players in my server. And if they do /<magic word> could it add then to a group that has building rights Thank you.
  8. Offline


    Have you tested the new update I posted? I removed anti-build and anti-destroy. All it does now is manage groups and notify admins when a player uses /<magicword>.
  9. Offline


    Sweet Thanks I will look at it tomorrow morning thanks!
  10. Offline


    The plugin is now updated to its full capacity. It is a management system for permissions and allows the server Admins to create rules that must be read for building status. Once the player has said the magic word, Admins/Mods can easily change the player's group without having to open the config file. They just chat /group <PlayerName> <GroupName>.
  11. Offline


    Can you add an automatic group add?
  12. Offline


    Like how? When a player logs in automatically place them in a "newcomers" group or something?
  13. Offline


    No, so that admins won't have to add people manualy to the server.
  14. Offline


    I can do that, I do it when I return from vacation.
  15. Offline


    Done. New players are now automatically added to the permissions file in the Default group.
  16. Offline


    ok I am getting mad why can I not get this thing to work!! This is exactly what I want but it just does not work! Please help.
  17. Offline


    No help will be provided until you explain what is going wrong.
  18. Offline


    ok when a player types in /<themagicword>. first the the admin (me) does not get any notification or nothing. How i am supposed to know who needs to be added or w.e. And then when they do the /play and I type in / <playername> <groupname> it says they have been added but yet they can still not build. example using notch. /player notch builder. and the builder group has permission to build but the default group does not.
  19. Offline


    First off: post your config file so I can see how you have it set up, I think I know the issue.
    Secondly: If you look under the commands spoiler in the original post, there is no /player command. The command is /group <playername> <targetgroup>. This would yield /group Notch builder
  20. Offline


    I get this error:
    2011-08-21 22:31:34 [SEVERE] Could not pass event PLAYER_LOGIN to MagicWord
    at LoginListener.onPlayerLogin(LoginListener.java:15)
    at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.java:328)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:184)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:82)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    at net.minecraft.server.Packet1Login.a(SourceFile:43)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    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)
  21. Offline


    Thanks, I'll look into it. Please send me the list of plugins that you are using so I can see if they are conflicting with my plugin.

    For future reference it's [spoiler] not <spoiler>
  22. Offline


    Sorry, but I gave up my 1060 server yesterday evening... got tired of it. I'm back to 1000!
    I'll search for the plugins I used and post them.

    This was my list of plugins:
    - BOSEconomy
    - Jail
    - LWC
    - ProperTime
    - WorldManager
    - WorldEdit
    - MultiInv
    - I Believe I Can Fly
    - WStone
    - WorldGuard

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


    The reason than you are getting an error is because this plugin is a permissions manager and therefore does effectively nothing without having permissions on you server as well. Download Permissions and everything will be fine.
  24. Offline


    I have a really good idea

    Can you make a simple Password tool that does console commands and regular commands... that would be so much easier and compatible across all permission plugins.

    You could call it PassCodes

    We would program the password and the command it executes in a config or in game on the fly...

    Have "wild cards" that auto fill the name given into the command after the password is entered, or default to the name of the person doing the command if no extra name is given.

    it would just like this: :cool:

    /pc [passcode] [name] - allowing effects to another player [passcode.player]

    /pc [passcode] - no extra name effects the player who set the command [passcode.use]

    /pc create [cmd type] [new passcode] [console command] - create new passcodes on the fly [passcode.create]

    /pc remove [passcode] - remove passcodes on the fly [passcode.remove]

    [cmd type][passcode ] [ new console command ]
    so if an Admin types "/pc create console awsomeskills /pex group Moderator user %user% add"
    ^types include [console/default] ^user name wildcard that auto fills user name from command later

    This would create a command compatable with permissions ex that added someone to the Moderator group.

    now then the player "Play3r" types "/pc awsomeskills"

    the console will excicute this command

    "/pex group Moderator user Play3r add"

    or if an admin types

    /pc awsomeskills Play3r2
    ^having the name after overrides the name of the player typing the command

    the console would do this

    /pex group Moderator user Play3r2 add

    also allow for command confirmations so we can program it so confirm so people don't accidentally demote them selves.

    [PassCode] Do you really want to complete this action?
    /pc confirm
    /pc deny

    Hope you think this is a good idea, I'm not a programmer but I would love this kind of tool on my server...... so many uses, giving individual people a single permission or changing groups, or any command you can think of really......

    If anyone makes this I would contribute any way possible.

  25. Offline


    I like it! I'll keep it in mind and work on it if I get a chance. It may take a while because I have schoolwork to keep up with.
  26. Offline


    Great!, Let me know if i can help in any way. email is andrew.olesya@gmail.com
  27. Offline


    What are the permission nodes?
  28. Offline


    No permissions nodes, it uses built in permissions so you just have to add your name to the config file.
  29. Offline


    Thanks for the help
  30. Offline


    For all guys who are intrested.
    I just fixed the plugin and now it's ready for 1.0.0 and 1337 :=)
    So when @JorganPubshire give me the permissions to take over the development i can release it ; )

Share This Page