1. These plugins are out of date or are no longer supported by their developers. If you wish to update a plugin, you must create a new topic (in the event that you aren't the original developer) in the submissions forum. If you wrote it, you can PM an admin or report the post to move it back, as long as you include updated information with the request/report.
    Dismiss Notice

[v1.10] ServerEPRSystem

Discussion in 'Unsupported / Outdated Plugins' started by vharonftw, Sep 11, 2011.

  1. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    ServerEPRSystem v.1.4.3.0(Public)
    v.1.5.1.0(out for donators)
    Server-side Economy, and Point-based, Ranking System
    (yes i know i suck at naming stuff - get over it :p)

    I'll be taking a break from Terraria after the holiday season probably for a couple of months (maybe till March or April).. i'll still be around to look at bugs and error reports but i won't be as active. I'll make sure to update the plugins for any future releases of Terraria, as long as TShock updates. As for now i'm gonna focus on updating all my plugins and getting all the new features and new plugins i had planned out before school resumes early in January.

    as with Custom Monsters and ServerEPRSystem, i'll be personally handling development of these plugins, though as for anything else i have planned out i'll be leaving them open source so anyone can have a look at them and can feel free to take over the project if they like.

    As for new features for my plugins after the holiday season, you can leave posts around their respective threads and i'll look into implementing them every other fortnight.

    Thank you for all the support you guys have given me i truly appreciate it! And for those who are wondering, don't worry this isn't goodbye xD like i said i'm only taking a break (though a long break it is) but I'll be back before you know it ^___^
    Ok here's how it's like:
    ServerEPRSystem is split into parts (some are still in dev. mind you so its still not complete yet)
    (The list was getting too long so i had to take out the command lists.. just read the Read me File)


    if you're having trouble with shards being awarded more than twice, use this
    http://dl.dropbox.com/u/41204508/AntiLag Plugin.dll - outdated. contact me if this is needed
    UPDATE:

    1.1.1 UPDATE :D
    Heyya guys~ Sorry for the late post.. i actually had these files ready a few hours ago hehe xD my bad anyway here's some new updates for ya:
    Donator Version (version 1.5.1) includes:
    • Update to 1.1.1 (ofc) [API version number 1.10]
    • Fixed Shard Sharing system (no more random shards - or points or whatever you call them)
    • Fixed payment notifications - both players now see the amount paid to and by whom
    Donators check your Email :D

    Public Version (version 1.4.3) includes:
    • Update to 1.1.1 [API 1.10]
    • Fixed payment notifications - both players now see the amount paid to and by whom
    • And as an added bonus because of the holiday season i also included: Shard Sharing System - allows sharing of point drops between the players who helped kill the monster based on damage percentage ^___^
    I'll try to Draft up a proper read me file for 1.4 and 1.3 soon... please bear with me

    To be added
    here's a few things to look out for:
    • Real Estate Plugin
      • Will allow you to sell protected regions
      • (possible feature) rental regions
      • will allow region owners to add people to that region
    • Player-2-Player trading plugin!
      • will allow players to trade points and items securely
      • will allow players to set up player shops that will sell items to other players
    • More to come! just sit tight!!
    Points System Plugin
    (you would need to install this for all the plugins to be added for thsi series)
    based on Iprocessor's EconoShock
    Features:
    • Uses server based points / currency for trading and buying items (shop system).
    • Uses points as a basis for using the /rank up command which will allow players access to different permissions and commands that can be set by the owner (rank system)
    • Will be the basis for all of the plugins to be added to this series (like the Command Costs Plugin)
    • Allows Server based points to be "dropped" from monsters upon kill (much like an RPG)
    • Point-drop computation is

      Monster Point Drop = 0.5983 x (Monster Coin Drop)^(0.5763)
    • Point accounts (where players store their points) created on first login
    • point will be lost upon death if specified by user
    Shop System Plugin
    Features:

    • To put it bluntly, if you're an admin and you hate it when people go like this "hey can u spawn me this or that?" but don't wanna go so far as to allow them to use the /item or /i command, you are gonna love this part (i know it solved my issues :p I'm all like, go kill something and get some "Shards")
    • Allows shops to be set using the TShock region commands which will only sell items you put into the shop and can only be bought while in the shop (like example: have separate potions and armor shops)
    • allows items to be "In stock" or "Out of Stock" which will determine if ppl can buy 'em or not
    • allows items to be sold anywhere if you don't specify a shop for them
    • allows items to be priced (duh!) and be moved from 1 store to another
    • allows players to check an item's price and where' it's sold
    Rank System Plugin
    Ok the 3rd part of this plugin series isn't actually complete yet (well it isn't complete for general usage, though for my server it works.. hehe ^_^) if you wanna install it refer to the readme.txt below ^_^

    Features:
    • allows you to set predetermined permissions that a player will gain upon spending more time in your server
    • keeps your players unspoiled (yeah if u hate ppl saying "can u set a warp to my house please? " and ur like "dude just walk" and he's like "im too lazy") =_=
    • gives players sumthing to work towards :p builds morale :p
    • A Config File that allows you to set rank names and order as well as prices and messages
    Command Costs Plugin
    Features:
    • Allows you to set Point costs to commands like /tp /buff /heal and /warp
    • Allows you to set individual prices for warps
    • Allows players with the permission "freetp" "freeheal" "freebuff" and "freewarp" to have access to the respective commands without costs (they must have the default permission too)
     
    • Like Like x 3
  2. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    C3RewardSystem

    Features:

    • Allows you to set have points “drop” from players when they  are killed during PVP
    • Players will drop a set percent of their points (depends on DeathToll)
    • Players will also drop a set number of points (depends on PvPKillReward)
    • Points will only drop for and from players within the same “point range” (this is defined in the config)
      • Allows you to set Rewards for C3Mod Games
      • Allows players to place bets using /bet and C3mod’s /duel command
      • REQUIRES C3mod to be installed
      • Works with the latest version of C3Mod unless otherwise stated in the Tshock Forums
    LINKS!
    http://dl.dropbox.com/u/41204508/ServerEPRSystem v.1.4.3.0.12162011.zip- includes all 5 plugins plus a .csv file and ceconfig.json (read the Read Me file to find out what those are for)
    github - source (only for ServerPointSystem.dll other parts are closed source)
    Read Me.pdf - Read This! I won't answer any questions if the answer can be found here so please read!
    DONATE! - any and all donations are very much appreciated. Times are tough and i could use a little help anywhere it can be given willingly. This would also motivate me to continue development of this plugin. Also with the current rise in the number of users of this plugin you can expect a Donator version to be out very soon! (in line with that I am also gonna close the source for the plugin soon srry :/ may leave the main part open source though if anyone else wants to use it for plugin dev.. will think about it)

    [​IMG]
    Mibbit - #emerald is an IRC channel for plugin support (just my plugins mind you! :p). So if you have anything to ask me personally you can find me here. You can click the link to mibbit chat if you don't have an IRC client (if you do here are the details::: Server: irc.accessirc.net ; channel: #emerald)

    Install instructions:
    For the main plugin just place it in the server plugins folder in the Tshock directory
    For the Shop plugin u can do 2 things
    1. u can place it in the server plugins directory then let it run once so it can create the item list then just re-price it later

    2. u can use my custom price list which has prices for some of the items locates on the CSV file.. open SQLiteManager on firefox and Import the CSV file into the Tshock DB. then when u run Tshock it wont need to create a pricelist from scratch (default prices are 50 points each for all items)

    (scratch that... it seems importing the csv file wihout first creating the table will get u colmn names of "colum 1" "column 2"...etc so you have to manually change those to the right names :p seems a bit tedious hehe... so just let it run once... close it empty the table (NOT DROP) then import the csv..)

    Side - note: Familiar Wig pants and shirt DO NOT appear in the default list... dunno why... i checked many times cant seem to get it to show up... tho manually adding their ID and name to the table will work just fine
    For the Ranking system, just add the custom groups i posted above to your tshock db file and put the plugin in the serverplugins directory

    THANK YOU FOR READING THAT! (took me 2 hours to type (mainly cuz im sleepy)
    This is my first plugin btw so if there are any issues aside from the things i posted here just let me know and i'll fix it right away

    HOPE THIS GETS APPROVED INTO THE PLUGIN RELEASES THREADS^_^

    CHANGE LOG (v 1.3.2)

    • Updated to work with Tshock (buggy beta) for terraria 1.1
    • MySQL support
    • Does not include C3RewardSystem yet
    (v 1.3)
    • moved currname from DB to config file (means you have to set your default Points name there)
    • removed lag caused by inefficient code upon register and login
    • New ConfigValues! (LadyLucksMultiplier and ReapersBlessingEnabled)
    • (new permission) ladyluck - groups with this permission to earn points multiplied by LadyLucksMultiplier
    • (new permission) reaperbless - groups with this permission don't lose points on death if ReapersBlessingEnabled is true
    • (new command) /reaperbless [player name] (or /rb) - gives a player the reapers blessing effect (even if he does not have the permissions for it) effect will disappear if you use the command again on hte same person or the player leaves
    • (new command) /ladylucksmileson (or /llso) [player name] - gives a player the lady luck effect (even if he does not have the permissions for it) effect will disappear if you use the command again on hte same person or the player leaves
    • RANK CONTROL ADDED!
    • ability to add more than one rank line (through the config)
    • ability for admins to change players's ranks (/chrank [player name] [rank]) -permission needed changerank)
    • ability to move from any rank line to another rank line using /rank change (restrictions will apply)
    • (new permission!) dontrankme - won't be ble to use chrank on these players also they won't be able to use /rank change (they can still rank up though)
    • added Rank line restrictions (in the config) - players cannot change their rank lines to this
    (v 1.2)
    • C3 Reward System
    • Config file for main EPR plugin
    • /servershop pricelist [shop name] ‐‐‐ /servershop shoppricelist [shop name]
    • compute for Defense and Critical hits ( will fix the point award system bug : awarding
    • more than once or none at all for killing a monster)
    • config for rank (will allow you to specify rank names and order)
    • i know i misspelled "setmultiplyer" so imma change it to /cpoints setmultiplier
    • add command : /checkdeathtoll (truncate to checkdt??)
    • add command : /check multiplier
    • ADDED THE NEW READ ME FILE!! READ IT!!!!
     
  3. DarkOS

    DarkOS tShock supporter and programming hack.

    Joined:
    Aug 17, 2011
    Messages:
    849
    great concept vharon! i may wait until your next version to run it live.
     
  4. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    that may take a while tho darkos :p like i said i wanna add a lot of stuff to it :p hehe so that may take a while... first thing i'll work on is making the ranking system plugin more user friendly :p The shop system is complete for now (won't be adding player shops cuz there is no demand for it yet..) and I probably won't be updating it unless 1 of 3 things happen
    i theres a major bug
    ii. someone suggests sumthing really cool!
    iii. It gets tested by other people and they tell me they need something added to the user interface
    The main plugin (which I'm currently improving is still having some tweaks to it that are unsuccessful so since it) is stable right now, I won't be adding anything to it yet

    However with regards to the things i said I forgot to put in (hehe :p) and the Item List for the shop plugin.. I'll have that up right away( maybe in a couple hours)
    other than that it really needs more people to test it so that i can improve it (I mean there's only so much I can see from my end) so i really appreciate it if people will help me ^_^

    thanks in advance to those who will! :D and thanks to those who already have of course :p
     
  5. DarkOS

    DarkOS tShock supporter and programming hack.

    Joined:
    Aug 17, 2011
    Messages:
    849
    so how does a shop work then? is it setup through a locked chest that refills? how does one know the cost of things? where does the money go?
    also, for the points, where is this experience stored on the server? i assume a user can only accrue points when logged in?

    i need more information on how all this works because if i run it then the players are going to want to know all this
    thanks!
     
  6. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    Shops work like this:
    basically /servershop buy is exactly like the /item command that you have as a superadmin only that it will cost you "points" everytime you use it got it? :D
    now to check prices currently we have /servershop price (which is still exactly like the /item command but doesnt give you an item but instead shows you the price for that item times the amount you specified) if you didnt specify an amount /servershop price will display the price for 1 item and /servershop buy will give you a whole stack

    now if you actually want to set up "Shop Regions" you need to use the /setshop commands.. this works with Tshock's own region commands
    if you use /setshop item [item name] [region name] it will add whatever you put into [item name] into whatever you put into [region name] - this way that item can only be bought if the player is in the region that "sells" that item.

    however even though an item is assigned to a shop it doesnt mean that it can be bought.. you need to make sure if the item is "in stock" you need to use /setshop deliver [item name] to make an item available for buying and /setshop recall [item name] to make it unavailable... this won't assign it to a "shop region" tho so u need to use /setshop item [item name] [ region name] to assign it to a a region of it hasnt been assigned yet... you can use /setshop deliver and /setshop item in any order you like just remember that it cant be bought if it hasnt been delivered yet even if its assigned to a shop.now you can have any number of shop regions you like but an item cant be sold in more than 1 region.

    now lets say you have an existing region named PotionShop then you add all of the potions to it then you have a region named IngredientShop and add all ingredients to that region.
    However you decided to make a 3rd region and name it AlchemyShop and want all potions sold there and ingredients sold anywhere..now you're thinking its a hassle to set each items shop name 1 by 1 all over again so thats where these commands come in
    /setshop move [old region name] [new region name] will move all the items in the first region to the 2nd one to be sold there
    /setshop close [region name] will have all the items in the region to have their shop names set to " " that means it can be bought anywhere on the map
    /setshop item [item name] sellonstreet will have the same result as /setshop close but will only affect 1 item..

    basically thats it for shop commands ^_^
     
  7. DaGamesta

    DaGamesta Level 5

    Joined:
    Sep 3, 2011
    Messages:
    114
    Hm... Interesting... but what if someone uses an inveditor, get's tons of great items, and then sells them for tons of points, which they then use to rank up without even trying? Although I guess this can't really be prevented, as in pretty much any plugin, it'd be nice to keep a log of items that are sold to the stores by players so as to keep tabs on who is clearly cheating. Perhaps making a limit to how much a shop will buy from one player within a certain time limit would be good, too? Or perhaps simply a store only buying a certain amount of a certain item, and then not buying anymore?
     
  8. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    OH i forgot to put that in :p It does actually keep logs of how much points are paid by who and when and also all the items bought by who and when and how much... its saved in tshock/ShopLogs and tshock /PayLogs.. as for getting points by selling items you cannot sell them to the servershop (and i will not be adding this feature) though they could sell these to other players though but that can be prevented with proper pricing (and monitoring the points paid using the PayLogs sorry if I forgot to mention it)
     
  9. DaGamesta

    DaGamesta Level 5

    Joined:
    Sep 3, 2011
    Messages:
    114
    Oh, strange, I must've misread, I was under the impression that server shops could be sold to, my bad.
     
  10. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    yeah idk why but its font is REEEEEALLY small! wasnt intentional...


     
  11. DarkOS

    DarkOS tShock supporter and programming hack.

    Joined:
    Aug 17, 2011
    Messages:
    849
    im having a bit of a hard time understanding then how this works. so lets say im a new user to the server. i register and start killing slimes. how do i see my points and where are they stored? i might have to see this running to understand because i am having a difficult time understanding how this all works together.
     
  12. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    to see your points you need to check your points pouch do that by typing "/shards pouch"

    i even wrote that on the main post (just saying :p hehe)
     
  13. DarkOS

    DarkOS tShock supporter and programming hack.

    Joined:
    Aug 17, 2011
    Messages:
    849
    ok i think i am understanding much better. so i essentially could create a region with a little house in it... call it a "shop" anytime someone walks into that region/shop they can do a /servershop price to see everything that is up for sale.
    The player can they buy the item using points that are gained from killing monsters in game.
    the player can also "level up" by receiving these points.
    the benefit to leveling up is to provide access to in-game commands, such as /tp, /warp, /whisper ...etc.
    Is this correct?

    If you spend points then can you fall below the amount needed to get to the next level? It seems that they come out of the same "point bank"?
    Is there a way to show in game a player's current rank? such as chat color or chat prefix?

    I almost wish there was way to store characters server-side to force fresh, non inventory edited characters to work with this mod.
     
  14. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326

    Points will be deducted from their "point bank" (if you wanna call it that) upon using /rank up so say i have 2000 points and want to rank up to Topaz from Amethyst, upon ranking up i will now have 0 points

    yes there is... on the config.json file of tshock you can enable this field "ChatDisplayGroup" to true (its set to false by default). you can also change chat color using SQLite manager on FireFox just go to the Groups table and edit each group's chat color manually


    yes and no.. you can only see an individual item's price when you use that
    I added new commands to it (/servershop masterpricelist , /servershop pricelist, and /servershop shoplist) which will allow you to see a list of stuff for sale..

    I'll be updating those links later though since I wanna have all the changes made in one post


    you and me both dude...
     
  15. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    I made some changes to make it more user friendly ^_^ hehe

    CHANGE LOG
    (v1.0.5)

    /award command to award points to players (admin only)
    /deduct command for admins to deduct points from players
    have points be lost upon death (can be set by admin)
    LOWERED CPU USAGE
    made command names a little less personalized
    made the pay command non-case sensitive (partial names work too)
    LIST OF THINGS U CAN BUY! (added commands to show a list of items for sale)
    item space check (can no longer buy items when inventory is full
     
  16. DarkOS

    DarkOS tShock supporter and programming hack.

    Joined:
    Aug 17, 2011
    Messages:
    849
    great additions. i am a big fan of the concept of this mod. as soon as i am back in town i am going to plan on a rollout of it.
     
  17. Conner4892

    Conner4892 Level 2

    Joined:
    Aug 5, 2011
    Messages:
    27
    Is it possible to make it reward players points for killing other players? I run a pvp server, hence there wont be much monster killing.
     
  18. Conner4892

    Conner4892 Level 2

    Joined:
    Aug 5, 2011
    Messages:
    27
    Vharonftw, I just wanted to take a second to say that you are incredible! I have installed this plugin on my server about an hour ago, and i have been setting up items and prices and what not. (Server IP is
    Anyways I just wanted to say that you have done an AMAZING job. This is the best plugin I have ever seen. It is working BEAUTIFULY and I have not encountered any problems with it yet! It is working great! Thank you for all the time and effort you have put into this, you have outdone yourself! The only thing I would like to see is coins rewarded for killing players! Great Work! Everyone needs to try this plugin!
     
  19. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    i think it is... not sure though.. i'll look into it (its on my list of things to do actually but since idk if its possible i didnt put it here) if ur using Twitchy's C3 Mod i can rig sumthing that can reward players when they beat other ppl in a duel or the whole team if your playing CTF or TDM (i'll probably have to ask Twitchy for permission though :p)... but if its just regular PvP i really don't know yet... will post soon
     
  20. Conner4892

    Conner4892 Level 2

    Joined:
    Aug 5, 2011
    Messages:
    27
    I am using twitchys c3 mod, so that would be awesome! Both of you have outdone yourselves with these incredible mods lol.. I hope you can get the pvp rewards to work, but it is still awesome!