Clublink: to customize your team in maniaplanet!

Discuss everything related to Maniaplanet.

Moderator: English Moderator

User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: Clublink: to customize your team in maniaplanet!

Post 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.
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
User avatar
keeth
Posts: 119
Joined: 22 Apr 2014, 16:23
Location: Kirkenes, Norway
Contact:

Re: Clublink: to customize your team in maniaplanet!

Post by keeth »

Bring me this feature back please :cry:
Ò enny here! find me on: YouTube
ShootMania's nr 1 Buzy, English Youtuber
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: Clublink: to customize your team in maniaplanet!

Post 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>
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
User avatar
keeth
Posts: 119
Joined: 22 Apr 2014, 16:23
Location: Kirkenes, Norway
Contact:

Re: Clublink: to customize your team in maniaplanet!

Post 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?
Ò enny here! find me on: YouTube
ShootMania's nr 1 Buzy, English Youtuber
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: Clublink: to customize your team in maniaplanet!

Post 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.
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
User avatar
keeth
Posts: 119
Joined: 22 Apr 2014, 16:23
Location: Kirkenes, Norway
Contact:

Re: Clublink: to customize your team in maniaplanet!

Post 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
Ò enny here! find me on: YouTube
ShootMania's nr 1 Buzy, English Youtuber
Post Reply

Return to “Maniaplanet”

Who is online

Users browsing this forum: No registered users and 0 guests