RTP Events Addon [1.10-1.20+] BetterRTP Addon icon

RTP Events Addon [1.10-1.20+] BetterRTP Addon -----

Run events on RTP using BetterRTP



A plugin that runs events after a successful RTP.

Depends on: https://www.spigotmc.org/resources/betterrtp-random-wild-teleport.36081/

You can also use: https://www.spigotmc.org/resources/placeholderapi.6245/

Config
Code (YAML):
# Placeholders are provided by PlaceHolderAPI:
# https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
# Built in placeholders:
# <playTime> : Playtime of a player in minutes.


# Event Types:
#
# playerCommand:<command-name>
# consoleCommand:<command-name>
# delay:<seconds>
# gamemode:survival

# Each hunger bone is 2. If you want to remove 2 bones then use 4
# 10 would be removing half of hunger.
# hungerRemove:10
# hungerAdd:10

# HealthRemove:10
# HealthAdd:10

# LevelRemove:10
# LevelAdd:10


events
:
 - "gamemode:survival"
  - "delay:2"
  - "consoleCommand:say Hello <playerName>! You have been switched to wild survival mode. Enjoy!"


firstRTPOnlyEvents
:
  enabled
: false
  events
:
   - "playerCommand:sethome"
    - "delay:2"
    - "consoleCommand:msg <playerName> Hey <playerName>! Your home has been set here, You can return at any time using /home"



playtime
:
  # Playtime is in Minutes
  enabled
: false
  statement
: "playtime > 10"
  events
:
   - "delay:2"
    - "consoleCommand:msg <playerName> You have played for <playtime> minutes."


#################################
# Operators guide with examples #
#################################


# > (Greater Than):
#
# Use this to check if one value is bigger than another.
# Example: playtime must be more than threshold for the condition to be true.

#  >= (Greater Than or Equal To):
#
#  Use this to check if one value is bigger than or equal to another.
#  Example: playtime must be more than or equal to threshold for the condition to be true.

# < (Less Than):

# Use this to check if one value is smaller than another.
# Example: playtime must be less than threshold for the condition to be true.

# <= (Less Than or Equal To):

#  Use this to check if one value is smaller than or equal to another.
# Example: playtime must be less than or equal to threshold for the condition to be true.

# == (Equal To):

# Use this to check if one value is exactly the same as another.
# Example: playtime must be equal to threshold for the condition to be true.

# Do you want to be notified of plugin updates?
notify_updates
: true
Resource Information
Author:
----------
Total Downloads: 295
First Release: Oct 12, 2023
Last Update: Oct 12, 2023
Category: ---------------
All-Time Rating:
0 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings