Make button appear only if specific person is online

Started by KnickKnack on

Topic category: Troubleshooting, bugs, and solutions

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make button appear only if specific person is online

So I have been working on a Revive mod, where if you spend 20 diamonds you can Revive one dead player; But I only want each button (pelican, Universal, and Pulse) appear when the person is dead. I tried to find a way to check if a specific player died, the button would appear (return true in the checking procedure) but I cannot seem to figure out how to check each player (3 total, this is a mod for me and my friends)

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There should be a global…
Sat, 01/18/2025 - 03:25

There should be a global trigger for when an entity dies, just check if it's a entity subtype of a player.