Gather Your Materials
Armed with an idea, you now “gather your materials.” If you were building a craft project, you’d gather all the raw materials (glue, wood, paper, googly eyes, plutonium) and tools (scissors, hammer, arc welder, cooling tower—whatever). We need to do the same. But what materials do we need?
Well, we need a first guess at what sort of data we’ll require in the plugin, how to keep track of it, and what makes the plugin run—is it run from a command, or an event, or a timer? Here are some good questions to ask:
-
What do you need to keep track of?
-
How long do you need to keep it? (during a command, while the server is running, across server reboots on disk…)
-
What are the triggers? (user-entered command, in-game event, internal ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access