File: README.customflagsample.txt

package info (click to toggle)
bzflag 2.4.30-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,488 kB
  • sloc: cpp: 150,376; ansic: 3,463; sh: 2,535; makefile: 2,194; perl: 486; python: 260; objc: 246; php: 206
file content (15 lines) | stat: -rw-r--r-- 597 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
BZFlag Server Plugin: customflagsample
================================================================================

This is a simple sample plugin for showing how to use custom flags.  It adds a
flag called "Custom Flag" with the flag abbreviation "CF".  This custom flag
just sends message to all users when it is picked up, dropped, and stolen, and
when a player shoots or is shot with this flag.


Loading the plugin
--------------------------------------------------------------------------------

This plugin takes no optional arguments, so load it with:

  -loadplugin customflagsample