Permission Portals (RECODED) | CUSTOM PERMS/MESSAGES/PRICES | NETHER | END icon

Permission Portals (RECODED) | CUSTOM PERMS/MESSAGES/PRICES | NETHER | END -----

Only allow players with certain permissions to use end/nether portals!




Fix issue with older API versions not allowing the plugin to load.
----------, Apr 6, 2023

YOU DO NOT NEED THIS UPDATE

IF YOU DON'T WANT PER-PORTAL/PLAYER COST, THEN YOU DON'T NEED TO WORRY ABOUT UPDATING. THE RECODE DOESN'T PROVIDE TOO MUCH MORE BENEFIT.

In this update, I completely recoded the plugin for efficiency, maintainability, and to add some amazing new features to the plugin!

WARNING
If you're updating from an older version, you will have to replace your config with the following:

Code (YAML):
permissions:
  nether-portal
: nether.portal
  end-portal
: end.portal

messages
:
  no-perms
: "&cYou do not have permission to use this portal!"
  not-enough-money
: "&cYou do not have enough money to use this portal! &7($amount-needed)"
  portal-charge
: "&aYou've been charged &f$$portalcost &afor using this portal!"

global
:
  pushback
: true
  nether-portal-cost
: 10.0
  end-portal-cost
: 20.0
  # should the player be charged when coming back through the portal
  one-way-charge
: true
This update adds in global end/nether portal costs, along with per-player end/nether portal costs. You can set the global costs in config, however, for per player costs, you need to give players certain permissions.

How the cost permissions work:
1. Permission node must start with "permissionportals"
2. The second part of the node must be one of the portals' names, or "pushback" for the pushback setting (netherportal,endportal,pushback)
3. The third part will be the price you want a portal type to cost. (PUSHBACK DOES NOT REQUIRE A VALUE)
Note* the plugin will automatically pick the lowest cost permission set for each player.

Example #1: Player should get pushed back when trying to enter portal and getting denied. Permission to add: permissionportals.pushback

Example #2: Player should be charged $10 to use end portal. Permission to add: permissionportals.endportal.10

Example #3: Player should be charged $5 to use nether portal. Permission to add: permissionportals.netherportal.5
----------, Sep 14, 2022

+ Delay between no permission messages when trying to use a portal.
- Includes new config option for nether and end portals. (Check main page)


----------------[ COMING SOON]-----------------


- Suggest features in my new discord: https://discord.gg/tP5nSGEWq7

----------------------------------------------------------
----------, Apr 10, 2021

Resource Information
Author:
----------
Total Downloads: 698
First Release: Apr 8, 2021
Last Update: Apr 6, 2023
Category: ---------------
All-Time Rating:
8 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings