Command txt

Discussion in 'Archived: Plugin Requests' started by NEO, Jan 25, 2011.

  1. Offline

    NEO

    The idea is a plugin that allows you to read .txt files in game that you can make yourself. So for example, you install the plugin and it creates a folder called commandtxt in your bin folder . You would fill this folder with .txt files named whatever you want, and have as many as you want.

    So lets say you put a file named people.txt in the command txt folder. The commands you would use are as follows.

    /people list - lists each line in people.txt
    /people list n - lists each line beginning with n in people.txt
    /people add neo - adds neo on a new line in people.txt
    /people edit neo fred - changes the line neo to fred in people.txt
    /people del neo - removes the line neo" from people.txt
    /people delall n - removes all lines beginning with n from people.txt

    This plugin could be used for a large variety of things. For example you could make ingame notes, keep track of certain players or things etc... You could also use other plugins like commandon so when for example members of the mod group login it automatically would do the command /modnews list. You could have news for each group.
     

Share This Page