This is my first plugin for learning plugin scripting so pls go easy.
From what I saw there were a lot of title plugins which used databases to store their titles along with other things. And since I couldn't be stuffed with setting up a database for my server I wrote my own plugin which uses flat file structure, hence the name.
Also if any experienced programmer would like to help point out anything which should be done differently that would be nice.
General feedback would be awesome too.
Description
Concatenates a title in front of a players name in chat. Doesn't require a database to setup and easy to use.
Installation
Place flat-titles.smx into sourcemod/plugins
Place flat-titles.txt into sourcemod/data
Feature list
Titles
No databases
Easy to manage titles
Dependencies
Chat-Processor
Changelog
Code:
1.0 (29-9-16)
-Initial Release
TODO:
-Optimize code?
-Add support to change title colours (hard coded orange atm)
-Add ability to use console/chat commands to add titles
e.g. sm_addtitle <name> <title> <colour>
-Add ability to change title from console/chat
-Add regex support to loosen titles format
-Add support for groups
-Add suffixes
Priority is in order of list