Sueta

John's Rp Bundle

0.0.5

A in progress suite of Rp plugins.

·Plugin
  1. 0.0.5latestMajor Update :DMay 15, 2018
    Plenty of handy performance boosts, command changes, and mechanic changes. Performance boosts MySql In version 0.0.4 I had just implemented a very system of MySql that just required me to build a MySql String to send to a Method that did the query on synchronously with the server. This was a very bad implementation cause when executing a query that would send back data the server would stop until the query was done. I moved all this into an asynchronous task that runs outside of the server and calls back to where the plugin left off and finishes what it was doing. This can sped up even more but thats for another time. Rp_Mmo I also implemented a Live Db type system that pulls the players toonData(All their stats and skills) into a .json file so the server can pull and update their file then upload it when the player logs off. Command Changes Rp_Karma I fixed the karma command to work in a different matter. When using karma you supply the player's role play name and it sends back Their current Karma, the Number of incidents, and the Ids of the reports. You then take the id of a report and use /karma report {id} and it will send back a full detail length on the report. Also in version 0.0.4 I never implemented a way to add a gamemaster to the table besides using a MySql query. This has been fixed to following this structure /gamemaster add John Willikers Dank Willikers The first set of names in the command are the player's roleplay name since everyone admin or player is required to register and get a custom name. The second set of names in the command are the player's Game master name. Why, I made it this way was in case the Gamemasters would like to roleplay and don't have two accounts they could seperate themselves from being a GM and roleplay. Another reason I did was in case a permission error happened. It wouldnt matter. It is impossible to negate a player unless your in the gamemasters table so make sure to keep your table secure Rp_Mmo Lets start off with the sweetest part of this update. In version 0.0.4 you would again like adding a game masters to a table would have to insert an Item into their respected table with a MySql Query. Since I want this plugin to be tested to its full potential to get community feedback on what the Damage Formulas should be. I will be posting them on the main plugin page and updating them as they are updated. I made a handy dandy command to create items on the spot /item create sword iron 1 0 1 Starter Sword This command seems odd at first, but its pretty simple. The first argument simply creates the item The second argument is the type of item (Supported items sword, axe) The third if the material(Supported materials wood, iron, gold, diamond) The fourth is the Strength value The fifth is the Agility value The sixth is the Dexterity value and everything after that is the name I also added inventory GUIs to make leveling up more interactive /character renders your character sheet /level skill renders skill level up /level stat renders stat level up Mechanic Changes Rp_Mmo So currently right now only axes and swords work so I can focus on getting the quirks worked out then apply it to all weapons. I added cooldowns to weapons to emulate a Global Cooldown System like World of Warcraft. Now your probably thinking well John, Minecraft already has this system and your correct. But your Weapon skills affects how long this cooldown is. By default the cooldown is 4 seconds with 1 skill point in said skill. If you do not have and points in the skill then the cooldown is doubled to 8 seconds. If you swing during this time your damage is set to 0 and the counter resets. So Spamming doesn't kill things. Cooldown formula will be posted on the Main plugin page.
    1 download
  2. 0.0.4Rp_Mmo AddedMay 12, 2018
    So I successfully got my project elrond code merged into rp_package. Now as I said Rp_Mmo will only boot with the dataMethod in ./Rp_Core/Settings/core_settings.json set to mysql. Make sure to download and install Mysql and create a database and put its name where db is in core_settings.json Once the you have logged in with Mysql turned on and the plugin installed you can type /level to see how many stat and skill points you have. /level [stat/skill] [name] [amount] type /character to see your stat sheet. Now after you run the plugin and Rp_Mmo is done creating it's tables to spawn a custom sword or axe you need to fill the swords or axes table with some weapon data. INSERT INTO swords ( name, strength, agility, dexterity ) VALUES ( '$name', $strength, $agility, $dexterity ); example INSERT INTO swords ( name, strength, agility, dexterity ) VALUES ( 'Nitlom Adnilem', 3, 1, 3 ); skills[] refers to the player's skills stats[] refers to the player's stats str,agi,dex refers to the stats on the weapon Here is a raw snippet of the current Damage Formulas: Code (Text): //Formula in charge of adding up damage int attack = 0; int attackBonus = 0; int meleeFormula = (stats[0] * 2) + (stats[1]/2); int rangedFormula = (stats[1]*2) + (stats[0]/4); int swordBonusFormula = (str2) + (agiskills[0]); int axeBonusFormula = (str2) + (agiskills[1]); int bowBonusFormula = (agi2) + (strskills[2]); if(stats[2]>=dex) { Core.debug(Mmo.name, "DamageListener.onDamage", "Meets dex requirments"); switch(weaponType){ case IRON_SWORD: attack = meleeFormula; attackBonus = (attackBonus + swordBonusFormula); break; case IRON_AXE: attack = meleeFormula; attackBonus = (attackBonus + axeBonusFormula); break; default: attackBonus = 0; } }else { Core.debug(Mmo.name, "DamageListener.onDamage", "Does not Meet dex requirments"); switch(weaponType){ case IRON_SWORD: attack = meleeFormula; attackBonus = (attackBonus - str); break; case IRON_AXE: attack = meleeFormula; attackBonus = (attackBonus - str); break; default: attackBonus = 0; } }
    4 downloads
  3. 0.0.3Added MySql SupportMay 12, 2018
    Ok my guys its been 9 months which is a long freaking time. I went ahead and added MySql as a way of storing data. I highly recommend it as well. To use MySql first delete the RP_Core folder to initiate a fresh install. Start the server and let the filesystem be generated. Then go to settings and open the core_settings.json. change dataMethod to mysql change host to mysql host change user to mysql user change password to mysql password change db to mysql database name Mysql has more data and will be the only supported dataMethod untill the final data structure is done and this will only be for the basic rp plugins. In depth plugins like Rp_Karma and the upcoming Rp_Mmo will be Mysql only. Let me know what you think below and if you have any ideas or have a bug to report. please email me @ [email protected]
    3 downloads
  4. 0.0.2r3Updated Karma trackingAug 4, 2017
    I started by tracking players time on the server. When the player joins the server the current time is written to their playerFile. When ever you log out it takes the current time and figures the difference between the two and convert it to minutes. This is added upon the players previous time that is logged and also * .25 to add to their karma score. Let me know what you think.
    33 downloads
  5. 0.0.2r2Added OOCAug 1, 2017
    So I added OOC into the Chat plugin. You can toggle between OOC and IG chat by using /ooc. If you want to hide that chat or show it use /ooc [on/off or 1/0]. Also on the github I added javadocs to the project. Soon it will have another place for it to live.
    19 downloads
  6. 0.0.2Added Karma System and cleaned up Console messagesJul 31, 2017
    I know long time since an update. Been busy with life installing ac's in the heat . Anyway I started putting a Karma system into the bundle. This will be a disciplinary plugin to keep an integer value. There is a timer that runs every hour adding 50 karma to everyone online. This is just a proof of concept way of adding karma. Soon hours will be logged into the playerbase. But more important features need to be implemented first. I would love any input on this plugin and accept any good quality code into the project if your interested, the dev branch is the latest improvements while the master branch is the current release version on spigotmc. Anyway on with the new added features When the player joins the server and completes the introduction they will be assigned in the karmabase in the regular format of a json file with their UUID as the title. This holds all the information the karma system needs to operate. So try to keep away if your not familiar with .json. The new commands are · /negate first last action desc Action refers to a defined action such as spamming. Spamming is the only one to give time to add more needed features. · /karma first last Prints to the Game Master the players KarmaBase file in chat.
    39 downloads
  7. 0.0.1Jun 16, 2017
    36 downloads

Similar projects

Plugin →