Roleplay Engine
RPEngine is the solution for your roleplay server. It manages everything from chat to player cards, nations, races and more
Dependencies:
!Without these plugins installed RPEngine won't work!
- ProtocolLib (Only for versions lower than 4.0.0)
- NametagEdit (Only for versions lower than 4.0.0)
- Vault
Some functions of the RPEngine
Chat
RPEngine has a fully integrated chat system with 2 chat channels, OOC (Out of Character) and RP (RolePlay). The OOC chat is global while RP chat is set to go a configurable distance (default 35 blocks). The chat system is also compatible with permission plugins like permissions ex and shows player prefixes and suffixes in the OOC chat
The RP chat has a few formatting tricks:
Emotes For expressing all of your character's actions! Simply use the * symbol in front of your action. For example: *walked in a circle around the flowers. Shows up as George walked in a circle around the flowers
This uses your character's name as defined in the character card. If you use quotations it'll color the text white. This helps detonate speech.
OOC in the RP chat Sometimes you need to tell the people you're rping with something, out of character. But there is no need for the whole server to see your message. So you send your message in the rp chat. Put (( in front of your message and it will turn grey so people know it's out of character
Character Cards
Used for displaying information about your character. Use /card to view your cards. You can either /card [value] to set values or you can directly click on the text that pops up. Since the plugin sends you json messages instead of plain text messages you can interact with the chat, so instead of remembering all the commands to edit your card you can click on the values to edit them
Birds
Birds are a way of sending long distance messages in roleplay. It wouldn't be realistic for your message to arrive instantly at the recipient, so the bird is a message that takes time to arrive to it's destination. The amount of time a bird takes depends on the distance between the two players and the configured speed of the birds (default: 20 blocks/s)
Rolls
Do you want to let chance decide what happens next to your character? How about a roll. It gives you a random number between 1 and the max you set with /roll [maxRoll]
Countdown The countdown is something players can use before they start their rp or pvp battle.
Dev Builds - Not recommended for use on servers. We'll release build that are stable and meant for your server on this bukkit page
Jenkins
Commands
- /card opens: your card
- /card name [name]: Change your rp name
- /card age [age]: Change your characters age
- /card gender [male/female]: Set your characters gender
- /card race [race]: Set your characters race (races are defined in the config)
- /card nation [nation]: Set your character nation (nations are defined in the config)
- /card desc [description]: Add a decription about your character
- /rp: Switch to the rp chat
- /ooc: Switch to the ooc chat
- /toggleooc: Disable or enable the ooc chat
- /whisper [message]: whisper something in rp (smaller range)
- /shout [message]: shout something in rp (bigger range)
- /bird [player] [message]: send a bird to a player
- /roll [max]: Roll the dice
- /countdown [startNumber]: start a countdown from [startNumber] to 1
- /spawnpoint: teleport to your own nations spawnpoint (require rpengine.spawnpoint.own)
- /spawnpoint [nation]: teleport to other nations spawnpoints (requires rpengine.spawnpoint.others)
- /spawnpoint set [nation]: set a nations spawnpoint (require rpengine.spawnpoint.own or rpengine.spawnpoint.all)
Permissions
rpengine.spawnpoint.set.own: description: Allows you to your own nations spawnpoint rpengine.spawnpoint.set.all: description: Allows you to set the spawnpoint for all nations rpengine.spawnpoint.own: description: Allows teleport to own nations spawnpoint rpengine.spawnpoint.others: description: Allows teleport to other nations
Config
#Database type, either sqlite or mysql databasetype: sqlite table-prefix: rpen_ #MySQL Connection settings, only needed when databasetype is set to mysql mysql: host: localhost user: root password: 1234 database: minecraft port: 3306 #Debug debug: false #ChatSettings chatEnabled: true rpRange: 35 whisperRange: 5 shoutRange: 50 logOOC: true logRP: false #MaxAge for if nothing is defined at the race: MaxAge: 75 #Races Races: Human: Color: BLUE MaxAge: 150 Plural: Humans #Nations Nations: Amsterdam: spawnX: 52 spawnY: 66 spawnZ: 4 spawnYaw: 0 spawnPitch: 0 spawnWorld: world # Speed in block per second for birds speed: 20 #Max for countdown and rolls maxRoll: 100 maxCountdown: 20 #The cooldown in-between card changes in seconds cardCooldown: 600 #Player health (20 is one full row of hearts and the default value) playerHealth: 40 # What language messages are sent in language: en_us
It has not even made a table yet, so I can't delete it.
Also it says: 05.02 16:13:56 [Server] WARN java.sql.SQLException: Access denied for user '713441'@'panel65.mcstartup.net' (using password: YES)
Do not tell me that it is my database, because it's not. I have ReportRTS working on that database.
I have entered my MySQL information, and it continues to act like this.
This is what I'm getting whenever I type /rp
http://pastebin.com/sxruzyyT
UPDATE
I am also getting this whenever I try to speak in chat. http://pastebin.com/dKUVZLBX
I am also on this spigot version https://gyazo.com/060f288505e99a422e047e4f7bb3a2ff
Thanks for creating this plugin! Just what I've been looking for...but, would it be possible to add options in the config to add / remove fields for the card. As in, being able to add a field for Alignment, God(s) worshiped and such?
@Giulio1708
Redid our chat system so it's more compatible with other chat systems. Should work with AuthMe. Tell me if it doesn't. As always the Jenkins builds are experimental so use with caution.
As for the fields not saving, I haven't run into that issue while testing. I'll see if I can fix it.
@Tofuus
Great, it works perfectly! Thanks! Now, last problem with the AuthMe integration.
If I'm not logged in, I can still chat in the RP chat: http://prntscr.com/9wql9v
Uhm after some testing, I noticed that AGE and RACE don't save in the database. They're still "NONE" for everyone.
@Giulio1708
With the Jenkins builds you don't need any of the dependencies. They were phased out in 4.0. Vault is a optional one if you want prefixes.
As for for the permanent race thing I'll try to fit it into my schedule. Been busy with work. 4.0 will some Soonâ„¢
@Tofuus
Thanks! I mean that when I change the race/nation in the /card, I choose it permanently and I can't switch to another one. Oh and the NameTagEdit download site is offline lol
@Giulio1708
Fixed the roll message in the latest Jenkins build. Please delete your old en_us.yml file.
What do you mean by avoiding switching race/nation?
@steffansk1997
Perfect, it works! Thanks a lot. Just a little bug with the dice: http://prntscr.com/9vqzs7
Oh and is it possible to translate commands, not just texts? And is it possible to avoid switching the race/nation itself, maybe making a permission?
@Giulio1708
Seems like a database problem, please delete the table that has been generated by the plugin and make sure you got your database configured correctly, if that doesn't fix it try a few builds earlier. Also delete the config, the config file of version 3.x isn't compatible with the config of 4.x
@Tofuus
Thanks, but: http://pastebin.com/4G4TkWNY
I tried with the last spigot release and with older one, nothing. I used the last Jenkins build (#53, 4.1.0) of RPEngine
@Giulio1708
Should be fixed in the latest Jenkins build. Remember, Jenkins builds aren't reviewed by Bukkit staff. Download at your own risk. If you want to wait for the official 4.0 release I'm aiming for sometime next week.
@C00leeo
Sorry about the late reply. These are the permissions currently in 3.5. In 4.0 more things will be getting permissions.
rpengine.spawnpoint.set.own: description: Allows you to your own nations spawnpoint rpengine.spawnpoint.set.all: description: Allows you to set the spawnpoint for all nations rpengine.spawnpoint.own: description: Allows teleport to own nations spawnpoint rpengine.spawnpoint.others: description: Allows teleport to other nations
http://pastebin.com/epnj3ELr
http://pastebin.com/HLUEUFSX
Don't know why. Using Spigot 1.8
Permissions?
@PerunaHD
It sometimes happens that there is some sort of corruption, delete the table the plugin generated and see if it works
@PerunaHD
Could you send us those error logs? Paste them into something like http://pastebin.com/
Hey, it looks like an awesome plugin, really looking forward to using it. However, I'm having a few issues with it functioning on the server. The server registers the plugin with /pl, all the dependencies are installed and functioning, so is the MySQL; though it doesn't appear to work ingame. I found this out when trying to chat, nothing would show up and various error messages show in the console. This also happens with using any of the commands (such as /roll, etc, it will display the fatal error message). I've also tried installing various builds of the plugin from the Jenkins hyperlink, and I receive the same error.
I was wondering if you had any idea on what it could be. I do have the error message from the console, if you need them (I'll PM, due to the length, though).
Thanks in advance :)
@KruhlSentru
There will soon come a function called rpconfig, in which you can create, delete and edit nations and races. For now it's a preconfigured list
and the max value of an integer is 2,147,483,647 make it 2,000,000,000