Paid3Mine

Paid3Mine
Current Version: 0.5
Have a good economy on your server? Not enough ways for players to generate income? Look no further Paid3Mine (Paid2Mine) is here! (lol) Paid3Mine allows people to generate money through mining of any block! Simply mine the block and get paid! To prevent players from farming money Paid3Mine features a system where it will only pay out blocks generated by the server and not player placed!
Features
- Custom Prices
- Custom Blocks
- Money Farming Prevention
- Debug tool to find the names of blocks
- Works with any economy (Via Vault)
- Alerts to tell players when their are paid (Can be switch on/off defaults to off)
Commands ( [] = variable )
- /p3m setprice [name of block] [price] - Sets the price of a block
- /p3m save - Saves the placements and values data (use before shutdown)
- /p3m load - Loads the placements and values data (use after start-up)
- /p3m alerts on - Turns alerts on
- /p3m alerts off - Turns alerts off
- /p3m values - Displays the current blocks and their prices
- /p3m debugging on - Turns debugging on
- /p3m debugging off - Turns debugging off
- /p3m console on - Turns Console debug output on
- /p3m console off - Turns Console debug output off
Permissions
- p3m.load - Allows loading of values and placements
- p3m.save - Allows saving of values and placements
- p3m.setprice - Allows the setting of prices
- p3m.debug - Allows one to view debugging in-game
- p3m.consoledebug - Allows one to change whether P3M outputs to the console (Can save HDD space)
Dependencies
- PythonPluginLoader
- Vault
- Bukkit :P
Installation
- 1. Download PythonPluginLoader and put this in your plugins folder
- 2. Download and place the Jython.jar file into the lib folder in your root mc directory
- 3. Download my paid3mine.pyp and also place this into your Plugins folder
- 4. Start your server :)
Known Bugs
- Known Bug: Can't set prices below 1
Pending Features (In order of Importance)
- Automatic loading/saving of Values and Placements - Probable with next update
- Payment through items (E.g. Emeralds) - Probable with next update
- SQL Support / Improved efficiency
- Money for farming :3, though might be made into another plugin (need time :S)
Questions / Errors / Feature Requests
- Just comment down below :)
-
View User Profile
-
Send Message
Posted Apr 26, 2019It's not working for me! my congil file for paid3mine isn't generating, even though i installed pythonpluginloader and jython.jar! Can someone help me?
-
View User Profile
-
Send Message
Posted Apr 5, 2013Ok, The plugin looks great. I got it to start up, and it looks like it's working, but when I break the block after setting a value, I get this in the console when debugging [INFO] [Paid3Mine] An error occurred obtain a price for: COAL_ORE
I also noticed that upon saving, I could not find the save file, Nor the plugin, Upon restarting/reloading the server, everything was set back to no value. Please help.
-
View User Profile
-
Send Message
Posted Sep 5, 2012@Link150
I've made a section on installation now, also make sure to follow how to install the pythonpluginloader carefully! Good luck bro
-
View User Profile
-
Send Message
Posted Sep 5, 2012@pomarf
what block are you breaking (you can use debugging to find out)? I'll look into it now :)
EDIT: I've found the issue... It's caused when you haven't set a value to a block after you've loaded your values... I have a solution but don't expect it super quick (just flew in, very bad jet lag). As long as you set the prices for the blocks using the debugging tool to help you, it should still pay out your players :)
-
View User Profile
-
Send Message
Posted Sep 5, 2012I keep getting an error
[INFO] [Paid3Mine] A Problem occurred depositing money to
-
View User Profile
-
Send Message
Posted Sep 4, 2012How Do i install this if its not a .jar?
i tried to install it like that but i wouldint work and i also installed pythonpluginloader
-
View User Profile
-
Send Message
Posted Jul 2, 2012@Suocis
Yeah, I can do that for ya. I've been very busy lately and have just gotten home so sorry for the late reply. I'm going to start development again :)
-
View User Profile
-
Send Message
Posted Jun 23, 2012There is only one thing I would like to see from this...the ability to put prices at less than 1$... with pay2mine I had everything set to 0.05 but with this version i can't seem to be able to to this. Works great though. Cheers and looking forward to a reply.
-
View User Profile
-
Send Message
Posted Jun 8, 2012@retricide
o.O I could have sworn I already replied to this comment, but anyways....
Yeah, it's a good question. The answer is one I'm not too happy about... Right now locations are stored in the Memory as an array. I was originally going to use SQLite but I ran out of time and just went with a nice little array; I plan on adding this in the near future. I have already made a little optimization in my code, but it's not in this release. The plugin still works rather well, and handles well on my server of about 20 players. The array is saved to a yaml file when /save is run, and is loaded with /load respectively.
If you have any tips for me that'd be great Retricide!
Cordially, Clem
EDIT: If you want to see the code, just unzip the download. You can see the SQLite class stuff too
-
View User Profile
-
Send Message
Posted Jun 8, 2012Out of curiosity, how does this plugin track which blocks are server-generated or player placed?
My concern is that it might be a memory/CPU - intensive process.