Experience a new level of community cooperation with this Minecraft plugin, where players must pool their resources using Vault economy to unlock access to the Nether and End dimensions.
Note: if you're upgrading from 1.0 to 1.1, please make sure to reset your lang.yml!
As of v1.1, this plugin was written for Spigot 1.19.3
I'm planning to add multiversion support in the future
- Download the latest version
- Drag and drop the
.jarinto your/pluginsfolder - Make sure to also install the Dependencies
- Start your server and enjoy!
# METRICS (bStats)
metrics: true
# DATABASE
# types: mysql, mongodb, yaml
# default ports: 3306 (mysql), 27017 (mongodb)
database:
type: yaml
# (none of the following database settings apply to yaml)
host: localhost
port: 3306
name: paidportals
username: portal_user
password:
# ECONOMY POOL SETTINGS
# unlock-amount: total amount the players need to pay the pool to unlock a dimension
nether:
enable: true
unlock-amount: 5000
the_end:
enable: true
unlock-amount: 20000
# PORTAL SETTINGS
# these settings apply before the dimension goal is reached
player-portal-create: false
player-portal-enter: falseFor information on database setup, please see the Database Guide
| Command | Arguments | Alias | Description |
|---|---|---|---|
| /reload | - | - | Reload the config |
| /resetpool | - | - | Reset the money pool |
| /viewpool | - | - | View the money pool |
| /dpay | [amount] | dimensionpool, dimensionpay | Pay a certain amount of money into the dimensions pool |
| Permission | Default | Description |
|---|---|---|
| paidportals.reload | OP | Permission to use /reload |
| paidportals.resetpool | OP | Permission to use /resetpool |
| paidportals.ignore | OP | Allows players to use portals, even when its still locked for everyone else |
| paidportals.viewpool | Everyone | Permission to use /viewpool |
| paidportals.dimensionpay | Everyone | Permission to use /dpay |
| Placeholder | Description |
|---|---|
| %paidportals_nether% | Returns the lock status of the Nether |
| %paidportals_the_end% | Returns the lock status of the End |
- Vault
- Any Vault supported Economy plugin (e.g. EssentialsX)
- PlaceholderAPI (optional)
-
MySQL
- Make sure to install MySQL
- open the mysql shell
CREATE USER 'portal_user'@'localhost' IDENTIFIED BY 'GENERATED_PASSWORD_HERE'CREATE DATABASE IF NOT EXISTS paidportalsGRANT ALL PRIVILEGES ON paidportals.* TO 'portal_user'@'localhost' IDENTIFIED BY 'GENERATED_PASSWORD_HERE' WITH GRANT OPTION
-
MongoDB
- Make sure to install MongoDB
- open the mongo shell
use paidportalsdb.createUser({ user: "portal_user", pwd: "GENERATED_PASSWORD_HERE", roles:" ["readWrite""] })
-
YAML
- No additional setup needed!
As of v1.0, this plugin only supports these 3 Database types I'm planning to add SQLite in the future