Somebody linked me to a version of my old WIP: PointShop that someone had hacked together to make it work for Garry’s Mod 13. The code annoyed me so much that my OCD kicked in and it made me finish off the one I’d started during the beta.
It’s working in SP and MP as far as I can see, let me know if there are problems and I’ll fix them up. Post suggestions if you like but no promises I’ll do any of them.
- Recoded from scratch.
- Item equipping/holstering.
- Updated GUI.
- Item customisation (colors only for now).
- Admin tab for managing players points.
- Items removed on death or TTT spectate mode, and given back when you spawn again (OnHolster and OnEquip).
- New item file layout for easier editing and creating.
- Points given over time (configure in sh_config.lua).
**Download / Install
**GitHub - https://github.com/adamdburton/pointshop
Clone or extract the pointshop repo or pointshop-master folder to your addons folder.
I was originally selling this but I’m just too kind. Anyone who bought it has been refunded. This requires the MySQLOO module installing and a MySQL server that your gameserver(s) can connect to.
Be VERY cautious letting people set the MySQL stuff up for you. If your MySQL database is set up to allow connections from anywhere (either on purpose or by accident), anyone with the connection details will be able to connect to it. If you get someone to do it for you, make sure you change the password once it’s all working.
Clone or extract the pointshop-mysql repo or pointshop-mysql-master folder to your addons folder and then edit the mysql.lua file with your database info.
This is a repository of extra items for PointShop that I or others have made, and are separate to the main repository to keep it clean from models and materials. PM me if you have an item you’d like including. If you’re having problems with clients downloading, move the models and materials to the root garrysmod folder, merging them into the existing ones.
Add this as another legacy addon in your addons folder.
If you create custom items, make sure the filenames of the lua files don’t have spaces or capital letters. The item names can be anything you wish.
The positions for each item were found with trail and error. There isn’t a program to find them for you.
Item property/function documentation: http://pointshop.burt0n.net/items
Problems / Suggestions
Please make sure you're on the latest version before reporting errors.
Post any issues with the PointShop code (not your custom items) on GitHub: https://github.com/adamdburton/pointshop/issues
If you have custom items and they’re not working, it’s not my problem, but feel free to post them here and me or someone else may help you.
DO NOT ADD ME ON STEAM TO ASK QUESTIONS OR ASK ME TO MAKE SOMETHING, POST IN THE THREAD!
If you would like to support development and make sure I keep this updated with fixes and new features, donating some of your money to me will go a long way to doing that. Receiving donations really inspires me to work more.
**These are people who have helped out with PointShop. Let me know if I’ve missed you off.
Matt- - Bug hunting/fixing, code optimisation and a few features!