Skip to content

Feat/prevent vanished trading#37

Open
bennycallanan wants to merge 2 commits intoArtillex-Studios:masterfrom
bennycallanan:feat/prevent-vanished-trading
Open

Feat/prevent vanished trading#37
bennycallanan wants to merge 2 commits intoArtillex-Studios:masterfrom
bennycallanan:feat/prevent-vanished-trading

Conversation

@bennycallanan
Copy link

Prevents trading with vanished players by treating them as offline.

  • Added vanish detection using player.canSee(player)
  • Prevents trade requests when either player is vanished
  • Uses same error message as offline players: "The player [name] can not be found!"
  • Configurable via prevent-vanished-trading option (default: false)
  • Compatible with most vanish plugins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant