Kinda need a little assistance :/

Discussion in 'Plugin Development' started by KrackedV2, Sep 10, 2019.

  1. Offline

    KrackedV2

    Here is the screenshot of my work so far...
    pl1.PNG
    And I need the assistance for the unban like something this:

    target.kickPlayer("Blah Blah");
    target.setBanned(true);

    Also don't mind the random stuff at the end ok I tried to search up it on YouTube :eek:

    And I want to make that kinda thing into a unban if that makes sence I am new so please Please don't judge me ok. Thank you!
     
  2. Online

    timtower Moderator Moderator

    @KrackedV2 Get the OfflinePlayer instead of the normal Player
     
  3. Offline

    KrackedV2

    What do you mean see that's the thing I am not fully in Java yet but getting there! :)
     
  4. Offline

    KarimAKL

  5. Offline

    KrackedV2

    Yea but where should I put the Bukkit#getBanList(Type)

    @timtower I don't know why but everytime I do the following it turns out changing into grey and crossed out

    pl1.PNG

    pl2.PNG


    @timtower There look at this hope that helps out a bit for you so you can help me out bit more
     
    Last edited by a moderator: Sep 10, 2019
  6. Online

    timtower Moderator Moderator

    @KrackedV2 Then hover your mouse over it and see what the message is.
     
  7. Offline

    KarimAKL

    @KrackedV2 That's because it's deprecated, this is the reason:
     

Share This Page