[FilterScript] Yet Another Business System
#1

Because I'm very creative when it comes to names.


Features

Dynamic Businesses: You can create businesses in-game and edit/remove them.

Resetting: If a business owner doesn't visit their business in 7 days, they'll lose it. You can configure how many days it takes to reset a business from BUSINESS_DAYS define.

Business Safe: You can deposit your money in the business's safe or take it whenever you want. You can give other players permissions if you want them to use your business's safe.

Permissions: You can give permissions to other players. Permissions allow other players to deposit or take money from your business's safe.

Safe Logs: You can check your safe logs to see who deposited how much money or took how much money from your business. If they're stealing from you, don't be afraid to remove their permissions! Won't bring back the stolen money, though.

Business Selling: You have a business you don't want anymore? You can instantly sell it (boring), or you can put it on sale so other players can buy it for the price you want. This works even if you're offline. Simply if someone buys your business when you're offline, you'll get your money when you join the server.

Business Limit: You can decide how many businesses a player can own by using LIMIT_PER_PLAYER define. If you set it to 0, players can buy any business they want. If you set it to something else, players won't be able to buy more businesses than LIMIT_PER_PLAYER's value. This is added to prevent abusive players buying all the businesses, then putting them on sale for a higher price.

Screenshots






Commands

/business: Opens the business management menu, options you're not allowed to do will be red.

RCON Only:

/createbusiness [price] [earning] [type] - Creates a business on your position.

/gotobusiness [business id] - Teleports you to the business you specified ID of.

/setbusinessprice [business id] [new price] - Sets a business's price to the new price.

/setbusinessearning [business id] [new earning] - Sets a business's earning to the new earning.

/setbusinesstype [business id] [type (optional)] - Sets a business's type to the new type. If you leave the type parameter empty you'll get a dialog which lists all business types.

/resetbusiness [business id] - Resets the business you specified ID of.

/deletebusiness [business id] - Deletes the business you specified ID of.

Notes

MySQL: This filterscript needs a MySQL database to work. The .sql file is not included in the download link because required tables will get created if they don't exist on initialization.

About Interiors: The exit position may look awkward when you go inside a business because I took the interior coordinates from here so you might want to change them. You can do that from BusinessInteriors array starting at line 95, or you can add new interiors/business types from there.

Downloads

Reply


Messages In This Thread
Yet Another Business System - by rootcause - 19.12.2015, 22:27
Re: Yet Another Business System - by maraz1987 - 19.12.2015, 22:28
Re: Yet Another Business System - by benjaminjones - 20.12.2015, 00:32
Re: Yet Another Business System - by Deniz1467 - 20.12.2015, 06:46
Re: Yet Another Business System - by Ritzy2K - 20.12.2015, 08:30
Re: Yet Another Business System - by Elegy - 20.12.2015, 08:50
Re: Yet Another Business System - by rootcause - 20.12.2015, 10:00
Re: Yet Another Business System - by SecretBoss - 20.12.2015, 10:48
Re: Yet Another Business System - by rootcause - 21.12.2015, 22:33
Re: Yet Another Business System - by SecretBoss - 22.12.2015, 20:59
Re: Yet Another Business System - by Jonggol - 18.04.2016, 15:52
Re: Yet Another Business System - by Slawiii - 01.05.2016, 12:38
Re: Yet Another Business System - by N0FeaR - 01.05.2016, 18:24
Re: Yet Another Business System - by Kucin666 - 07.05.2016, 14:38
Re: Yet Another Business System - by Mark_Samp - 07.05.2016, 14:56
Re: Yet Another Business System - by TheSimpleGuy - 07.05.2016, 16:40
Re: Yet Another Business System - by Radio - 08.05.2016, 17:21
Re: Yet Another Business System - by legendd - 08.05.2016, 17:27
Re: Yet Another Business System - by Amunra - 12.05.2016, 11:19
Re: Yet Another Business System - by 2k16 - 15.05.2016, 08:14
Re: Yet Another Business System - by yarakstyle91 - 13.07.2016, 12:05
Re: Yet Another Business System - by Jawz - 13.07.2016, 12:52
Re: Yet Another Business System - by Rix70 - 31.08.2016, 21:22
Re: Yet Another Business System - by Ultraz - 31.08.2016, 21:32
Re: Yet Another Business System - by Yultranions - 23.09.2016, 10:27
Re: Yet Another Business System - by Rube - 23.09.2016, 18:13
Re: Yet Another Business System - by Quinncell - 23.09.2016, 18:20
Re: Yet Another Business System - by HondikCZ - 01.10.2016, 15:53
Re: Yet Another Business System - by Exlivebs - 04.11.2016, 21:44
Re: Yet Another Business System - by BrainDamaged - 07.11.2016, 16:04
Re: Yet Another Business System - by Amoeba - 07.11.2016, 23:51
Re: Yet Another Business System - by DandyCorleone - 08.11.2016, 06:28
Re: Yet Another Business System - by William02 - 20.01.2018, 22:36

Forum Jump:


Users browsing this thread: 13 Guest(s)