ban plugin

Discussion in 'Plugin Development' started by tschagg, Jan 20, 2013.

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


    hey guys

    i made a own plugin, this write the name in the banned-players.txt

    everything is workin, after the command the name is written in the txt.
    but after the kick, the player can join the server, while he is on in the banned-players.txt

    i have to reload the .txt or something?

    thanks for the help!
  2. Offline


    Why not just use bukkits default ban system? of get the player, then use player.setBanned(true);
  3. Offline


    Bukkit doesn't read the file each time a player joins. That is why this
    is what you want :3
  4. Offline


    ok i try that

    worked, thank you so much!

    - SOLVED -

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 30, 2016
Thread Status:
Not open for further replies.

Share This Page