Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TempBan - On Death

Comments in 'Plugin Development' started by Radix, Nov 29, 2015.

  1. Radix
    Offline

    Radix Active Member

    Joined:
    Jul 2, 2015
    Posts:
    211
    Minecraft User:
    Dicks123
    Is there anyway to have a temporary ban when a player is killed or dies period?
  2. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    Yes, there are lots of ways. You just have to think.
    Put the player that died name in an array, database, or YAML file, then kick them(Optional)
    Use PlayerLoginEvent or PlayerJoinEvent to prevent the player from joining the server if their name is in the array, database, or YAML file.
    After your desired time, take the name off.
    hoyinm14mc likes this.
  3. basprohop
    Offline

    basprohop Active Member Plugin Developer

    Joined:
    Aug 8, 2015
    Posts:
    128
    Plugins:
    3
    Minecraft User:
    basprohop
    iDirtPlayzMC likes this.
  4. Radix
    Offline

    Radix Active Member

    Joined:
    Jul 2, 2015
    Posts:
    211
    Minecraft User:
    Dicks123
    Done that already last i check Timerban doesn't work!

    Good Idea , Thanks!
    Hotshot_9930 likes this.
  5. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    As far as I know PocketMine includes that feature by itself, at the difficulty you can choose hardcore.
  6. basprohop
    Offline

    basprohop Active Member Plugin Developer

    Joined:
    Aug 8, 2015
    Posts:
    128
    Plugins:
    3
    Minecraft User:
    basprohop
    that's a permanent ban, he is looking for temporary...
    Legoboy0215 likes this.
  7. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    oh oke but arent there many plugins about that? He also could use TimeCommander and set the ban and pardon commands there
  8. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    This is "Plugin Development" not "Plugin Requests".
    He is trying to make his own plugin.

Share This Page

Advertisement