AntiAddict Revisited

AntiAddict Custom logo


AntiAddict Revisited - Limit some players' playtime on your server

Version: v2.1



https://mcstats.org/signature/antiaddict.png

Description:

If you are an admin who really cares about the players of your server, there might come a day when you recognise that some of them got addicted to the game and really play to much on your server. AntiAddict is a plugin which allows you to limit the time specified players can play on your server. This timelimit will be reset the next day, which then would allow them to play again. (so normally it's daily).

The first developer of this plugin was Phiwa, who wrote most of the code. He read a plugin request by wuppieigor and recognised that there are some server admins who really care about the players on their server and do not only watch the number of slots they manage to fill. (Follow me on Twitter for updates!)

Quote from Phiwa:

Of course you cannot control what the players do on other servers or in single-player, but it is a step into the right direction. In my opinion it is great that those admins care about their members and therefore wrote this plugin to help them with it.

After a long time and finally releasing AntiAddict, a lot of server admins became familiar with it and started to love it. Unfortunately, Phiwa had a busy time and couldn't update his plugin anymore. All were sad. I decided to step in. Staartvin. I'm the new main developer of AntiAddict and I will do my best to make this plugin even better than it was!



Features:

  • Ability to set which players are 'addicted'
  • Highy customisable messages with more than 14 translations.
  • Ability to check how much time you have left untill you're kicked
  • Easily see which players are 'addicted'
  • Permissions used for commands
  • Ability to limit all players on the server with one simple toggle
  • Support MultiWorld. Configure which worlds you want to use!
  • Ability to turn off MultiWorld and just use all worlds, as default.
  • Admins will be noticed when there is a new version available.
  • Addicted players will get noticed when they're getting kicked soon.
  • Translations for 14 countries.
  • Ability to see info about an addict, such as: total playtime, language, time left, reputation and more!
  • Group support. Make multiple groups that have different time limits



Screenshots:

What is shown to addicted player: http://i1090.photobucket.com/albums/i380/Staartvin/2012-04-14_205458.png

What is shown in console when addicted player logs in: http://i1090.photobucket.com/albums/i380/Staartvin/AntiAddict15CMD.png

What is shown when addicted player gets kicked: http://i1090.photobucket.com/albums/i380/Staartvin/AntiAddict15MC.png


What is shown in console when addicted player gets kicked: http://i1090.photobucket.com/albums/i380/Staartvin/AntiAddict15CMD2.png

Commands:

  • /antiaddict <on/off> (De)activates AntiAddict.
  • /antiaddict status Shows the current status for AntiAddict (on/off).
  • /antiaddict left Shows the time the player has got to play.
  • /antiaddict about Shows useful information about AntiAddict.
  • /timeleft This command is deprecated and therefore not used anymore.
  • /antiaddict config reload Reload AntiAddict's configs.
  • /antiaddict language set <language code> (player) Sets the language for a specified player if specified, else it will set the language for player who used command.
  • /antiaddict language list Shows the available languages and their language code.
  • /antiaddict info <player> Shows information about the player, such as language, reputation , time left and total playtime.
  • /antiaddict help Shows all commands.
  • /aa <command> This is an alias to /antiaddict. You could use this as '/aa config reload' for example.



Permission-nodes:

  • antiaddict.admin - Allows the player to control AntiAddict.
  • antiaddict.ignorelimits - Gives the player the ability to ignore the timelimits for addicts if LimitAll is set to true in the config.
  • antiaddict.lefttime - Gives the player the ability to check how much time he/she has left before getting kicked.
  • antiaddict.* - Gives the player total control.
  • antiaddict.versionnotice - Players with this permission will be noticed when the plugin is outdated.
  • antiaddict.language.list - Gives the player the ability to get a list of available languages and their language code.
  • antiaddict.language.set - Gives the player the ability to change their language.
  • antiaddict.language.setother - Gives the player the abilty to change the language of others.
  • antiaddict.infoplayer - Gives the player the ability to get info about other players.



Supported Languages:

  • - English
  • - Dutch
  • - German (Thanks to Phiwa)
  • - Polish (Thanks to Phiwa)
  • - Italian (Thanks to samu301295)
  • - Brazilian Portuguese (Thanks to TheLunarFrog)
  • - Spanish (Thanks to TheLunarFrog)
  • - French (Thanks to MrLongBacon)
  • - Danish



Requests:

If there is anything you would like me to add, simply ask for it.

Known Bugs:

Totally bugfree!

Donations

I'm a poor student and I'm developing this plugin in my free-time, if you like my plugin and want to help me, please donate. Donating is the best way to help me out, it goes towards more bug-fixing. Thanks!

https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Fluxty Fluxty Jul 30, 2014 at 11:25 UTC - 0 likes

    Seems like the "antiaddict.ignorelimits" permission is not working. I have it listed in the "admin" group in PEX and I'm still being removed from the server.

  • Avatar of Atsuraelu Atsuraelu May 07, 2014 at 12:29 UTC - 0 likes

    Removed the inheritance, unfortunately nothing changed.

    Neither players in the players-group nor those in the spectators-group get put into the apropriate AntiAddict group.

    But thanks for the quick reply^^

    Last edited May 07, 2014 by Atsuraelu
  • Avatar of Staartvin Staartvin May 07, 2014 at 12:20 UTC - 0 likes

    @Atsuraelu: Go

    This probably happens because you have the players group inheriting the default group.

  • Avatar of Atsuraelu Atsuraelu May 07, 2014 at 12:11 UTC - 0 likes

    I've got a little bit of a problem...

    No matter what I do, all players are put into the default group.

    AntiAddict config.yml:

    # AntiAddict v2.1 Config
    Antiaddict:
      LimitAll: false
      ShowWhenAddictJoinsServer: true
      ReputationPointsBan: 4
      NoticeOnVersionUpdate: true
      PermissionsWarningOnStartup: true
    World:
      UseMultiWorldSetup: false
      ExemptedWorlds:
      - unusedworld
    

    AntiAddict groups.yml:

    Groups:
      Default:
        time limit: 120
      Guests:
        time limit: 60
      Spieler:
        time limit: 60
      Zuschauer:
        time limit: 1440
    

    PermissionEx permissions.yml:

    groups:
      spectators:
        default: true
        permissions:
        - -modifyworld.*
        - spectate.on
        - spectate.off
        - spectate.mode
        - antiaddict.groups.Zuschauer
      players:
        inheritance:
        - default
        permissions:
        - modifyworld.*
        - antiaddict.groups.Spieler
        - -spectate.*
    

    Can someone please tell me, what I'm doing wrong?

    Last edited May 07, 2014 by Atsuraelu
  • Avatar of Staartvin Staartvin Jan 06, 2014 at 21:41 UTC - 0 likes

    @nebzero: Go

    It's really easy. You can make seperate groups with each their individual time limit. After you've set all the limits, you can give a player a certain permission to be part of the group. See the comments at the top of the antiaddict config.

  • Avatar of nebzero nebzero Jan 06, 2014 at 20:41 UTC - 0 likes

    So... How do you set this up? There's no instructions. Please help, thanks!

  • Avatar of mjtillis2006 mjtillis2006 Nov 23, 2013 at 17:32 UTC - 0 likes

    What do you suggest then? Its still setting peoples reputation to below whatever I have the min set up to as well?

  • Avatar of Staartvin Staartvin Nov 23, 2013 at 15:56 UTC - 0 likes

    @mjtillis2006: Go

    Unfortunately it's working as it should for me.

  • Avatar of mjtillis2006 mjtillis2006 Nov 21, 2013 at 23:40 UTC - 0 likes

    Any luck?

  • Avatar of Staartvin Staartvin Nov 20, 2013 at 21:43 UTC - 0 likes

    @mjtillis2006: Go

    It's very odd that it's not working. I'll be testing your setup to see if I can get it to work.

What would you like to see added?

  1. Choice:

  1. Results
  2. 1 comment

Facts

Date created
Nov 14, 2011
Categories
Last update
Nov 20, 2013
Development stage
Mature
Language
  • deDE
  • enUS
  • esES
  • frFR
  • itIT
  • plPL
  • ptBR
License
All Rights Reserved
Curse link
AntiAddict Revisited
Downloads
7,632
Recent files

Authors