ban plugin

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

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

    tschagg

    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

    Craftiii4

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

    fireblast709

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

    tschagg

    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