Database punish uuid plugin

Discussion in 'Plugin Requests' started by Kinguinplays, Jul 21, 2020.

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

    Kinguinplays

    This is a punishments plugin that is based around the players UUID and their ip. The plugin should store the data on a MongoDB database. All punish messages should be configurable. The plugin should also implement a staff chat feature that is permission based. The mongoDB connection area should be in the config

    Punishments:

    /ban (-s) (target) - bans the player across all the ips and uuid (punish.ban)
    /tempban (-s) (target) (duration) (timespan) - bans the player across all their ip and uuid (punish.tempban)
    /mute (-s) (target) - mutes the player on their uuid and ip (punish.mute)
    /tempmute (-s) (target) (duration) (timespan) - mutes the players across all their ip and uuid (punish.tempmute)
    /kick (-s) (target) - kicks all players on that ip (punish.kick)
    /lockdown - kicks everyone from the server and doesnt let them join unless they have the lockdown permission (punish.lockdown)
    /unban (-s) (target) - unbans a uuid and a ip (punish.unban)
    /unmute (-s) (target) - unmutes a uuid and a ip (punish.unmute)
    /freeze (target) - freezes a target across their ip and uuid (punish.freeze)
    /unfreeze (target) - removes their freeze and they are able to move across their ip and uuid (punish.unfreeze)

    If there is a -s infront of the punishment that means it is silent and only people that have a certain permission will be able to see it. (staff.snotify)

    Misc:


    /histroy (target) - shows all punishments a target has received. (staff.history)
    /dupeip (target) - shows all accounts under that ip (staff.dupeip)
    /staffchat (message) - a seperate chat system that people can use if they have permission. (staff.chat)
    /commandspy on/off - shows all commands a player sends (staff.cspy)

    EDIT
    Forgot to add the plugin should be on 1.8 spigot
     
    Last edited: Jul 21, 2020
  2. Offline

    Kinguinplays

  3. Offline

    Stellrow

    So you basically want someone to reinvent the wheel? As basically all banning plugin ban the uuid and have ip support as well
     
  4. Offline

    Kinguinplays

    Actually no. I want a bans plugin that works to only ip and uuid so all punishments are done across them. Also I haven't found one yet that specifically hooks into MongoDB and has freeze, unfreeze, staffchat and commandspy. You could say I want someone to modernise and make the wheel more secure.

    BUMP!

    @timtower that was meant to be another bump not a double post?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 23, 2020
  5. Online

    timtower Moderator Moderator

    Then don't do it within 24 hours
     
    Xp10d3 likes this.
  6. Offline

    Kinguinplays

    You have to wait the full 24 hours? Why just not do them every day?
     
  7. Online

    timtower Moderator Moderator

    Days are relative, welcome to timezones.
    The hours in between are checked.
     
  8. Offline

    Kinguinplays

    Well sorry about that as it had been one day (not a full one) when I did that bump.
     
  9. Offline

    Kinguinplays

    BUMP!
    (been way longer then 24 hrs since the last one)
     
  10. Offline

    Kinguinplays

  11. Offline

    colmalle

    I will try. But I'm new to mongoDB so I'm not guaranteeing any efficiency or performance.
     
  12. Offline

    Kinguinplays

    That's fine I just need it to be in mongoDB just so the server core and use it.
     
  13. Offline

    colmalle

    Timespan is TimeUnit or something else?
     
  14. Offline

    Kinguinplays

    Timespan is the units.

    Minutes (m) Hours (h) Days (d) Weeks (w) Months (30 days (mo)) Years (y)
     
  15. Offline

    colmalle

    When failing to connect to mongoDB do you want the server to be closed to just the plugin to be disabled?
     
  16. Offline

    colmalle

    @Kinguinplays Here is the plugin. I have just uploaded it so you might need to wait for approval
     
    Last edited: Aug 2, 2020
  17. Offline

    Gowixx

    @colmalle I really respect what you did, but I have a question. Could you add silent kicks, and make it mysql or flat file (selectable)
     
  18. Offline

    colmalle

    Thank you!
    @Gowixx Do you mean silent kicks or silent IP kicks? Cus there should be silent IP kick
    And if you have any more suggestions can you please open a new issue with a suggestion tag on the page? It would be easier to notice.
    I might be able to add MySQL support but I'm not very familiar with flat file
     
    Last edited: Aug 8, 2020
  19. Offline

    Gowixx

    @colmalle I mean like /kick LifelessHacker69420 -s Unfair Advantage, and Silent IP kicks would be nice (So it only broadcasts to ppl with like bans.silent.ipkick.see "&7(Silent) &c%punisher% &rhas kicked &c%punished%" if that makes sense.
     
  20. Offline

    colmalle

    I think there is a silent ip kick
     
Thread Status:
Not open for further replies.

Share This Page