A corporation manager and dashboard for EVE Online
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

campaigns.yml.sample 2.0 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # This is a sample config file for Calefaction's Campaigns module.
  2. # Copy this to campaigns.yml and modify it to set up the module.
  3. # You must restart the server after making any changes.
  4. # List of active campaigns, in your preferred order:
  5. enabled:
  6. - foo
  7. - bar
  8. # Data for each campaign. Name must match entry in the enabled list above. If a
  9. # campaign is defined here but not enabled, its URL will be accessible but not
  10. # advertised anywhere, and it will be marked as inactive.
  11. campaigns:
  12. foo:
  13. # Campaign title. This is possibly a longer or more colorful version of the
  14. # name used as the internal key/campaign ID.
  15. title: Stop the Foo
  16. # List of active operations:
  17. enabled:
  18. - frigates
  19. - titan
  20. # Determines order of elements on campaign page; use separate lists for
  21. # section breaks:
  22. layout:
  23. - [frigates, titan]
  24. # Definitions for each operation. Operations track certain statistics.
  25. operations:
  26. # Will track the number of Foo frigates killed by the corp:
  27. frigates:
  28. # Full operation name:
  29. title: "Operation: Kill Foo Frigates"
  30. # Data source (here, retrieve data from zKillboard):
  31. type: killboard
  32. # Show total ISK killed (defaults to true):
  33. isk: true
  34. # Python function to filter kills:
  35. qualifiers: |-
  36. victim = kill["victim"]
  37. corpname = victim["corporationName"]
  38. killed = g.eve.universe.killable(victim["shipTypeID"])
  39. return corpname == "Foo Corporation" and killed.group == "Frigate"
  40. # Will track possession of Tritanium by all corp members:
  41. titan:
  42. title: Let's Build a Titan
  43. # Here, retrieve data from EVE's Assets API:
  44. type: collection
  45. isk: false
  46. # Report as "10 units" / "1 unit" of Tritanium
  47. unit: unit|units
  48. qualifiers: |-
  49. type = g.eve.universe.type(asset["type_id"])
  50. return type.name == "Tritanium"
  51. bar:
  52. title: Save the Bar
  53. operations: []