Skript to plugin

Discussion in 'Plugin Development' started by stazek, May 6, 2020.

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

    stazek

    I try to translate my .sk to plugin and i have a question:
    As the following code will look like in plugin?
    CODE:
    remove 250 from the victim's balance
    AND
    add 30 to the attacker's account

    PLS HELP <3
     
  2. Offline

    timtower Administrator Administrator Moderator

    @stazek You need to hook into Vault for this.
    Then you can withdraw 250 from the victim and deposit 30 for the attacker.
     
  3. Offline

    stazek

    But how to write it into plugin?
     
  4. Offline

    timtower Administrator Administrator Moderator

  5. Offline

    stazek

  6. Offline

    timtower Administrator Administrator Moderator

    There are examples in there.
     
  7. Offline

    stazek

    But... i'm using intelij IDEA and i don't know how to import this "library" XD
     
  8. Offline

    timtower Administrator Administrator Moderator

    Don't know either for intelij
     
  9. Offline

    stazek

    :< ok. thanks
     
Thread Status:
Not open for further replies.

Share This Page