Automated Anti Shop Abuse Mod (AASAM) - Prevent players from spamming your free shops

Discussion in 'Discussion' started by _SaikiK_, May 25, 2020.

Tags:
  1. _SaikiK_
    Offline

    _SaikiK_ Member

    Messages:
    66
    Every player who ever has made a free shop knows the problem: Some players just spam the shop and take everything and leave nothing for the others.

    This mod is the solution for that. I called it "Automated Anti Shop Abuse Mod" or in short "AASAM".

    If a player uses a shop a certain amount of times it will send a warning message to the person. If the person continues to abuse the free shop, the player will be temporarily banned from your island.
    The player will be unbanned after the set time expires, or in case you disconnect before unbanning the player, the next time you connect to the server.

    The mod is working out-of-the-box but you can configure the following values in the "Mod Options" menu after you press pause:
    - The warning message
    - The ban message
    - The duration of the ban
    - The warning treshold
    - The ban treshold
    - When the record of a player who used a free shop disappears
    - A chat delay (shouldn't be needed, only use it if you get kicked for spamming)

    Download (Forge 1.12.2, Version 1.2): https://github.com/H4xX0r1337/AASAM/releases/download/1.2/aasam.jar

    Let me know if you gave it a shot!

    Update 1.1:
    - Bug fixes
    - New welcome message
    - Colored ban and warning messages by default
    Update 1.2:
    - A small typo has been fixed
     
    • Winner x 3
    • Like x 1
    • Amazing x 1
    • Useful x 1
    • Creative x 1
    Last edited: May 26, 2020
  2. Adriansop
    Offline

    Adriansop Active Member

    Messages:
    169
    IGN:
    Adriansop
    Woah amazing
     
    • Agree Agree x 2
    • Cookie Cookie x 1
  3. Togpuss
    Online

    Togpuss STAY Premium Premium Premium

    Messages:
    1,470
    IGN:
    Togpuss
    Wow, that is pretty cool. Might have to try it out. :eek:
     
    • Cookie Cookie x 1
  4. Athyrix
    Offline

    Athyrix Moderator Staff Member

    Moderator
    Messages:
    6,118
    IGN:
    Athyrix
    This looks really cool, perhaps a command help list though would make it easy so players can see what they're getting into by downloading it! :D
     
    • Agree Agree x 1
    • Friendly Friendly x 1
  5. _SaikiK_
    Offline

    _SaikiK_ Member

    Messages:
    66
    I see, it might be a little bit confusing. You don't need any commands, you set everything in the "Mod Options" menu after you see if you press pause :p
     
  6. Athyrix
    Offline

    Athyrix Moderator Staff Member

    Moderator
    Messages:
    6,118
    IGN:
    Athyrix
    Ohhh that actually makes sense. Thanks for clearing that up! Perhaps edit that into the main post? :)
     
  7. _SaikiK_
    Offline

    _SaikiK_ Member

    Messages:
    66
    Yeah I added it to the main post
     
  8. _SaikiK_
    Offline

    _SaikiK_ Member

    Messages:
    66
    In case anyone is watching this thread: The mod has been updated to version 1.1 with a few bug fixes and a new welcome message.
     
    • Friendly Friendly x 1
  9. LiamJacko
    Offline

    LiamJacko Falling 24/7

    Messages:
    327
    IGN:
    LiamJacko
    Hiya!
    First of all, absolutely love the mod.

    But I'm having a bit of trouble as I keep getting kicked for spam when people send the messages.
    Any tips?
     
  10. _SaikiK_
    Offline

    _SaikiK_ Member

    Messages:
    66
    Hey, thanks for using my mod :⁠p
    Does the account you are trying to use the mod with have a rank or not?
    You could try to set the built in chat delay option to a higher value to send the messages less frequently. You could also try to set the warning threshold to 0 to temporarily disable one of the messages.
     
  11. LiamJacko
    Offline

    LiamJacko Falling 24/7

    Messages:
    327
    IGN:
    LiamJacko
    The account is ranked, yes.
    I will increase the chat delay. Thanks!

    With the new friends system in place, and with messaging being slightly broken, the messages do not always send either.

    Update: I think it's broken, players aren't getting banned.
     
    • Agree Agree x 1
    Last edited: Aug 1, 2020 at 5:43 PM

Share This Page