Livemap for LiF:YO dedicated servers

Latest version: 2.0.1 (Aug 18, 2017)

Web-based livemap for “Life is Feudal: Your Own” dedicated servers. This is the dedicated version of the livemap for you to host on your own server. Alternatively, you can use hosted livemaps on TerraTool.

Features:

  • Display guild claims on the world map:
    • Claim size and position
    • Member count
    • Member list
    • Building count
    • Founding date
  • Display live information about the server:
    • Online player count
    • List of players online
    • Restart timer
    • In-game time and date
    • Current weather and weather forecast
    • Judgement Hour information
  • Optional map layers:
    • Coordinate system / Grid
    • Online player positions
    • Buildings / Structures built
    • Paved roads built
  • Group logins and permissions management:
    • Every feature can be enabled/disabled or assigned to a group
    • Allow login and assign individual permissions to groups
    • Assign individual group tags to characters
  • Server RCON:
    • Broadcast messages to all players online
    • Send a message to a certain player
    • Kick players
    • Ban players temporarily or permanently
    • Trigger certain server procedures
    • Execute custom server-console commands
  • Multi-language support

If you’re interested in using it for your own dedicated server, I recommend to read through the full Installation Guide to prevent some confusion and frustration.

Minimum Requirements:
  • Webserver with PHP 5.4 (or higher) installed.
  • Database connectivity to your LiF:YO game database.
  • Basic understanding of webservers and how to publish content.
Download:

Download “LiF:YO Livemap” lifyo.livemap.2.0.1.zip – Downloaded 800 times – 714 KB

Download “TerraTool/Livemap Server Mod” TTmod.v1.0.zip – Downloaded 13 times – 6 KB

Installation:
  1. Unpack and upload the files to your webserver
  2. Edit config-dedicated.php and fill in your server information, database connection and change the admin password.
  3. Hit index.php in your browser, login with the admin password and customize settings.
Changelog:

v2.0.1 – Aug 18, 2017

  • Fixed a bug where custom groups couldn’t be deleted.
  • Fixed a bug where claim detail tooltips didn’t show at all if member list was disabled.
  • Fixed a bug in setup script for dedicated version of the livemap.
  • Removed file selection button on config page that wasn’t meant to be displayed on dedicated livemaps.

v2.0.0 – Aug 16, 2017 – Blogpost here

  • Moved most of the configuration to the database. Added configuration page for the admin login.
  • Added groups and permissions system. Please read the update post for details.
  • Added RCON support. Please see the update post for details.
  • Added in-game time and date display feature.
  • Added weather and weather forecast feature.
  • Server timezone can be configured.
  • Replaced navigation/control buttons in the header.
  • Moved zoom buttons to bottom left of the screen.
  • Mousewheel can be used to zoom (can be disabled).
  • Replaced grid with a version that doesn’t require an actual image. New grid is zoomable.
  • Password field will autofocus when the login button is clicked.
  • Updated the server mod to support the new features.
  • Removed building counter blacklist/exceptions. It might return later.
  • Removed custom (cc) language option. Please simply edit the English one to customize translations.

Updating Notice: Lots of files have been renamed and config has changed remarkably. Please delete any older version of the livemap before installing the new one.

v1.2.4 – Apr 20, 2017

  • Fixed minor page layout issue when a claim was very close to the map`s edge
  • Added CSS interface/API to seperate claim tiers (Modder resource)

v1.2.3 – Mar 20, 2017

  • Fixed Judgement Hour countdown, since servers respond with UTC time now.

v1.2.2 – Feb 26, 2017Blogpost here

  • Added tooltip with list of online players for the online player counter on top
  • Added tooltip with times of daily restarts for the restart countdown on top
  • Added online/offline idicator icon for guild claim members
  • Fixed claims positions. There were off by one pixel in the Y-axis
  • Fixed minor issue in server mod, which printed some unnecessary warnings in the server console and the logfiles.

v1.2.1 – Jan 18, 2017 – Blogpost here

  • Added zoom levels from 0.5 up to 8.0 to GM mode
  • Added player highlighting by mouseover
  • You can scroll by dragging the mouse over the map
  • GM mode now has memberlists and steam links enabled, no matter what’s configured in config.php
  • If server query is disabled but server mod is enabled, the online player count will still be shown (count can be acquired from database).
  • Fixed a character encoding problem in index.php that could cause header related error messages on certain webservers.
  • Fixed broken ‘online players’ counter refresh in Internet Explorer

v1.2.0 – Jan 7, 2017 – Blogpost here

  • Added password protected GM mode with advanced features (show built structures, track players)
  • Included a server mod that maintains a list of online players. This is optional, but the player tracking feature in GM mode won’t work without it.
  • Added Judgement Hour information display.
  • Added support for custom map graphics.
  • Fixed some visual issues for GM labels and Steam links if a non-default tooltip style was used.
  • Fixed compatibility issues with Internet Explorer 10/11. The livemap is now fully compatible with these.
  • Added member count for claims.
  • Added new ‘glass’ tooltip style.
  • Added option to hide memberlists for claims.
  • Added option to disable all server API queries. This will also disable related features, such as online player count and JH display.
  • The warning icon will now blink when it’s less than 5 minutes till server restart.
  • The site will remember map and grid status in a cookie.
  • Lowered the amount of database queries to improve performance and database load
  • Seperated all HTML and PHP code by using a template engine.

v1.1.0 – Nov 4, 2016 – Blogpost here

  • Added sticky bar on top of the page to display server status and buttons
  • Moved the grid toggle link into the top bar
  • The grid is now disabled by default
  • Added a button for the servers website (set URL in config.php)
  • Guild names are placed inside the claim circle whenever suitable
  • Guild names that are placed on top won’t linebreak
  • Guild claims are highlighted on mouseover
  • Guild claim color, outline thickness and style are configurable
  • Guild claim tooltip style is configurable (3 styles so far)
  • Website background color is configurable
  • Online players counter refresh lowered to 12s (from 15s)
  • Added experimental support for CMS inclusions

v1.0.1 – Oct 16, 2016

  • Introduces the EN_STRUCTS option in config.php to enable or disable the building counter.
  • Included all licensing terms for 3rd party software used (license.txt)

v1.0.0Sept 26, 2016

  • Initial version
Thanks & Credits

http://www.opentip.org/
Lightweight JavaScript library to display tooltip boxes. Saved me a lot of time.

https://github.com/xPaw/PHP-Source-Query
SourceQuery library for PHP. Used to pull status and player count information from gameserver.

http://insel-der-verbannten.de/
German LiF:YO RP Server. Playground for betatesting the map.