main/Config File and Permissions
Setup
Location: plugins\marriage\config.yml
If you want to use permissions / economy you have to use Vault too.
Also, if your File is missing some configs, please delete your old config file. The plugin will generate a new one.
Example Config File
Database: Typ: FlatFiles Username: root Password: root Hostname: localhost Port: 3306 Name: Minecraft Permissions: Enable: false Economy: Enable: false Marriage: Price: 10.0 Divorce: Price: 10.0 Teleport: Price: 10.0 Gender: Enable: false Marriage: Priest: false Announcements: true
Database Typ: FlatFiles or MySQL
Database Name: Name of your MySQL Database
Marriage Announcements: Broadcast an announcement on successfull marriage.
Permission Nodes
marriage.request Allows access to the /marry request command. Default = true
marriage.divorce Allows usage of the teleport command. Default = true
marriage.tp Allows usage of the teleport command. Default = true
marriage.priest Allows usage of the teleport command. Default = op
marriage.list Allows access to the /marry list command. Default = op
Economy
Important, if you enable economy, the price has to be a double.
Gender
Only works with the gender plugin.
What do you mean by "double"?
@gabriel11798
That is a type. Basically you must use numbers like 10.0, 15.5, 3.3
Just your number and .0 or any other number.
Are there permission nodes for each command? I want to disable divorce, but the list doesn't show a node for that one.
@1cec0ld
There are only permission nodes for the ones listed above. We can also add the permission node you need. Be patient and wait for the next update.
I'll keep my eye out, thanks
@1cec0ld
You're welcome.
Hey, nice plugin! :)
One question for ya: Is a gerenic version planned? Most of the players on my server don't want to marry someone, they just want to be(come) friends xD
Thanks in advance!
- ThisUsernameIsMine
@ThisUsernameIsMine
At the moment there are no plans for that. I guess you just want something thats equal to this plugin that would give you a teleport to your best friend instead of your married partner.
Once the developer has some time to spare, he could make a spike out of the plugin and just use some friend related things.
How to be a priest? I already put the permission in Admin, more like I do to make others marry