Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var player = BukkitPlayer;
- function inv() {
- if(player.getPlayer().getInventory().firstEmpty() != -1) {
- return true;
- }else {
- return false;
- }
- }
- inv();
- // how to install / use
- // 1. /papi ecloud download javascript and /papi reload
- // 2. and edit at "plugins/PlaceholderAPI/javascript_placeholders.yml" and
- // create file javascripts/inv.js and paste code
- // 3. done /papi reload
- // 4. use => /papi parse <playername> %javascript_inv%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement