Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: Mapcycle Plugin  (Read 1802 times)

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 999
    • GitHub
Mapcycle Plugin
« on: May 17, 2014, 02:57:10 PM »
Description

A BigBrotherBot plugin which enhances the mapcycle system of Urban Terror. At the beginning of every level, it computes the g_nextmap according to the maps listed in the plugin configuration file and the last map played on the server. The algorithm which computes the nextmap ensure to have always a different level set as g_nextmap. It's meant to promote maps that are barely played on the server to make the gameplay more interesting. The plugin is also capable of setting server cvars according to the level being played: such cvars needs to be specified in the plugin configuration file.

Installation

  • copy the mapcycle.py file into b3/extplugins
  • copy the plugin_mapcycle.xml file in b3/extplugins/conf
  • add to the plugins section of your b3.xml config file:

<plugin name="mapcycle" config="@b3/extplugins/conf/plugin_mapcycle.xml" />

Requirements

  • Urban Terror 4.2 server [g_modversion >= 4.2.015]
  • B3 version >= 1.10dev

The plugin relies on the Admin Plugin only (as every other B3 plugin). Although the plugin overrides some commands declared in other plugins (!map from Admin Plugin and !setnextmap, !cyclemap from PowerAdminUrt Plugin) and some functions provided by the Jumper Plugin. So, if you have those plugins loaded, make sure that in your b3.xml the mapcycle plugin is loaded after them.

In-game user guide

  • !lastmap - display the last map(s) played on the server

Download

Last release: https://github.com/danielepantaleone/b3-plugin-mapcycle/archive/master.zip
« Last Edit: November 30, 2014, 11:38:39 AM by Fenix »

 


Rate this page +1 at Google Search