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 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.

  • Avatar of mjtillis2006 mjtillis2006 Nov 20, 2013 at 21:24 UTC - 0 likes

    Hey Staartvin, I just want to say thanks for sticking with me on this one. I have linked my three config files, this is current. The players logging in no longer start at a low reputation for whatever reason so that has been fixed somehow. However, I still can not get it to where the higher promoted players on my server are not limited to playing time. Even myself as the owner have a time limit. Any insight on this would be great. Or if there is a link to a tutorial that I could look at and maybe I have just missed something.

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

    # Group config
    # Time limit is defined in minutes.
    # To assign a player to a group, give them the permission with the group name.
    # Example: When you give Herobrine antiaddict.groups.Default it will assign Herobrine to the Default group.
    # Names are case-sensitive. So antiaddict.groups.default wouldn't work.
    Groups:
      Default:             <<<<<<<<<<<<<<<<------------------------------------------------------------------------------------------------------------
        time limit: 90
      Guests:
        time limit: 60

     Group inheritance
    #
    # Any inherited groups prefixed with a g: are global groups
    # and are inherited from the GlobalGroups.yml
    #
    # Groups without the g: prefix are groups local to this world
    # and are defined in the this groups.yml file.
    #
    # Local group inheritances define your promotion tree when using 'manpromote/mandemote'

    groups:
      Default:
        default: true
        permissions:
        - antiaddict.groups.Default        <<<<<<<<<-------------------
        - antiaddict.lefttime
        - essentials.helpop
        - essentials.afk
        - essentials.afk.others
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.ban.notify
        - essentials.kit
        - essentials.kits.tools
        - essentials.msg
        - essentials.msg.url
        - essentials.rules
        - essentials.spawn
        - -bukkit.command.kill
        inheritance:
        info:
          prefix: '&e'
          build: true
          suffix: ''

      Member:
        default: false
        permissions:
        - essentials.del.home
        - essentials.exp
        - essentials.home
        - essentials.sethome
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        - essentials.pay
        - essentials.kits.survival
        - essentials.signs.use.buy
        - essentials.signs.use.free
        - essentials.signs.use.sell
        - antiaddict.ignorelimits      <<<<<<<<<---------------------------------
        inheritance:
        - default
        info:
          prefix: '&4[Member]'
          build: true
          suffix: ''
      Donator:
        default: false
        permissions:
        - essentials.sign.use.enchant
        - essentials.kits.donator
        inheritance:
        - member
        info:
          prefix: '&f[Donator]'
          build: true
          suffix: ''

      Admin:
        default: false
        permissions:
        - antiaddict.admin
        - essentials.ext
        - essentials.fly
        - essentials.fly.others
        - essentials.getpos
        - essentials.getpos.others
        - essentials.help
        - essentials.kick
        - essentials.kick.exempt
        - essentials.kickall
        - essentials.time
        - essentials.time.set
        - essentials.tp
        - essentials.tp.others
        - essentials.tphere
        - groupmanager.manuadd
        - groupmanager.manpromote
        inheritance:
        - donator
        info:
          prefix: '&5[Admin]'
          build: true
          suffix: ''

      Owner:
        default: false
        permissions:
        - mcore.*
        - '*'
        - -vanish.*
        inheritance:
        - admin
        info:
          prefix: '&2[Owner]'
          build: true
          suffix: ''

    Last edited Nov 20, 2013 by mjtillis2006
  • Avatar of Staartvin Staartvin Nov 20, 2013 at 21:04 UTC - 0 likes

    @mjtillis2006: Go

    If you give a group antiaddict.groups.groupname it will belong to that group and have the time of that group. antiaddict.ignorelimits should allow a player to play for as long as they want.

  • Avatar of mjtillis2006 mjtillis2006 Nov 20, 2013 at 17:59 UTC - 0 likes

    So Staartvin, if i put antiaddict.group.default under the lowest group it will give it the time allowance of the default group, and then if i put antiaddict.ignorelimits under the first one above it then the rest should have unlimited time?

    You also said no one is assigned to a group so no one has limited time. Thats the opposite of whats happening. Everyone is actually limited to time even though I have the ignorelimits permission in place.

    Last edited Nov 20, 2013 by mjtillis2006
  • Avatar of Staartvin Staartvin Nov 20, 2013 at 14:28 UTC - 0 likes

    @Schuis: Go

    It resets the players time after the next day.

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,002
Recent files

Authors