Page 8 of 8

Re: Clublink: to customize your team in maniaplanet!

Posted: 22 Sep 2015, 15:11
by w1lla
Request:

Even though its possible to add links for Streams, Twitter, Url's and such it isnt possible to retrieve them in the clublinks url.

Please add those add they can be very helpfull for tournaments aswell as organizers.

Re: Clublink: to customize your team in maniaplanet!

Posted: 23 Apr 2019, 01:44
by keeth
Bring me this feature back please :cry:

Re: Clublink: to customize your team in maniaplanet!

Posted: 23 Apr 2019, 13:54
by Eole
The creation and hosting of the clublink file on the Maniaplanet website is not available anymore. But if you host the file somewhere else and paste the link in your profile, it should still work if the server allows it. Is it not the case ?

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<club version="1">
  <!-- Name of the team -->
  <name>Example</name>

  <!-- Zone of the team (See in game for the zone structure) -->
  <zone>World|France|Ile-de-France</zone>

  <!-- City of the team -->
  <city>Paris</city>

  <!-- Colors of the team (Used on the spawns, the poles and the UI) -->
  <color primary="0DA" secondary="95D" />

  <!-- Emblem of the team (Used on the spawns, the poles and the UI) -->
  <!-- Must be a dds file in BC1/DXT1 with mipmaps of 512x512 pixels-->
  <emblem>http://www.example.com/Emblem_Example.dds</emblem>

  <!-- Players list -->
  <players>
    <!-- ManiaPlanet login of the player -->
    <player login="Example1">
      <!-- Nickname of the player (Can be used by game modes to automatically rename the player on the server) -->
      <nickname>My name is Example 1</nickname>

      <!-- Avatar of the player (Can be used by game modes to automatically replace the avatar of the player on the server) -->
      <!-- Any format supported by ManiaPlanet can be used (jpg, png, tga, dds, webm) -->
      <avatar>http://www.example.com/Avatar_Example1.png</avatar>
    </player>

    <!-- You can add as many players as you want -->
    <player login="Example2">
      <nickname>I'm another Example</nickname>
      <avatar>http://www.example.com/Avatar_Example2.png</avatar>
    </player>
  </players>

  <!-- Sponsors list -->
  <!-- They'll be displayed on the sides of the screen during the end of the rounds/maps  -->
  <sponsors>
    <!-- Name of the sponsors -->
    <sponsor name="Sponsor 1">
      <!-- Image of the sponsor -->
      <!-- Any format supported by ManiaPlanet can be used (jpg, png, tga, dds, webm), image ratio 2:1. -->
      <image_2x1>http://www.example.com/Sponsor_1.png</image_2x1>
    </sponsor>
    <!-- You can add as many sponsors as you want -->
    <sponsor name="Sponsor 2">
      <image_2x1>http://www.example.com/Sponsor_2.png</image_2x1>
    </sponsor>
    <sponsor name="Sponsor 3">
      <image_2x1>http://www.example.com/Sponsor_3.png</image_2x1>
    </sponsor>
  </sponsors>
</club>

Re: Clublink: to customize your team in maniaplanet!

Posted: 24 Apr 2019, 08:01
by keeth
Eole wrote: 23 Apr 2019, 13:54 The creation and hosting of the clublink file on the Maniaplanet website is not available anymore. But if you host the file somewhere else and paste the link in your profile, it should still work if the server allows it. Is it not the case ?

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<club version="1">
  <!-- Name of the team -->
  <name>Example</name>

  <!-- Zone of the team (See in game for the zone structure) -->
  <zone>World|France|Ile-de-France</zone>

  <!-- City of the team -->
  <city>Paris</city>

  <!-- Colors of the team (Used on the spawns, the poles and the UI) -->
  <color primary="0DA" secondary="95D" />

  <!-- Emblem of the team (Used on the spawns, the poles and the UI) -->
  <!-- Must be a dds file in BC1/DXT1 with mipmaps of 512x512 pixels-->
  <emblem>http://www.example.com/Emblem_Example.dds</emblem>

  <!-- Players list -->
  <players>
    <!-- ManiaPlanet login of the player -->
    <player login="Example1">
      <!-- Nickname of the player (Can be used by game modes to automatically rename the player on the server) -->
      <nickname>My name is Example 1</nickname>

      <!-- Avatar of the player (Can be used by game modes to automatically replace the avatar of the player on the server) -->
      <!-- Any format supported by ManiaPlanet can be used (jpg, png, tga, dds, webm) -->
      <avatar>http://www.example.com/Avatar_Example1.png</avatar>
    </player>

    <!-- You can add as many players as you want -->
    <player login="Example2">
      <nickname>I'm another Example</nickname>
      <avatar>http://www.example.com/Avatar_Example2.png</avatar>
    </player>
  </players>

  <!-- Sponsors list -->
  <!-- They'll be displayed on the sides of the screen during the end of the rounds/maps  -->
  <sponsors>
    <!-- Name of the sponsors -->
    <sponsor name="Sponsor 1">
      <!-- Image of the sponsor -->
      <!-- Any format supported by ManiaPlanet can be used (jpg, png, tga, dds, webm), image ratio 2:1. -->
      <image_2x1>http://www.example.com/Sponsor_1.png</image_2x1>
    </sponsor>
    <!-- You can add as many sponsors as you want -->
    <sponsor name="Sponsor 2">
      <image_2x1>http://www.example.com/Sponsor_2.png</image_2x1>
    </sponsor>
    <sponsor name="Sponsor 3">
      <image_2x1>http://www.example.com/Sponsor_3.png</image_2x1>
    </sponsor>
  </sponsors>
</club>
So all i need to do is to fill in the blanks and host this code somewhere and link it on the profile? :o

How is it supposed to be hosted? Do i need to have it in a file or does it need to be a html web script somewhere?

Re: Clublink: to customize your team in maniaplanet!

Posted: 24 Apr 2019, 13:35
by Eole
You can copy paste the code from previous post in a file that you name as you like with an .xml extension (eg: myclublink.xml). After that you replace the example data with your own. Then you host the file in a place where the raw file is publicly available. Meaning that if you enter the address (eg: http://www.example.com/myclublink.xml) in your browser it should only display the content of the file.

Re: Clublink: to customize your team in maniaplanet!

Posted: 26 Apr 2019, 14:22
by keeth
Eole wrote: 24 Apr 2019, 13:35 You can copy paste the code from previous post in a file that you name as you like with an .xml extension (eg: myclublink.xml). After that you replace the example data with your own. Then you host the file in a place where the raw file is publicly available. Meaning that if you enter the address (eg: http://www.example.com/myclublink.xml) in your browser it should only display the content of the file.
I got it to work! You're the best Eole :clap:
But it didn't rename our nick names though. But that isn't really important tbh.
It's the team name and emblem i care about :D