Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: Eirone on Mar 17, 2022, 05:30 AM

Title: how can i create my own Masterlist
Post by: Eirone on Mar 17, 2022, 05:30 AM
a friend of mine said it would be possible, but I couldn't find the document, there was no wiki, can you help me?
Title: Re: how can i create my own Masterlist
Post by: habi on Mar 17, 2022, 09:52 AM
Yes, you can create your own masterlist. For that you may need the following things.
1. A website running which collect the data of servers.
2. You must have announce plugin edited so that the plugin sends the server data to your website, instead of official one.
3. If you have 5 servers, this edited announce plugin must be used on all these 5 servers.
4. In the client, you have to change the masterlist url to your website url/ip address.
Then go to internet tab, boom! You see your 5 servers name there.
Title: Re: how can i create my own Masterlist
Post by: . on Mar 17, 2022, 10:25 AM
https://forum.vc-mp.org/?topic=1168.msg7817#msg7817
Title: Re: how can i create my own Masterlist
Post by: Eirone on Mar 17, 2022, 06:34 PM
Quote from: habi on Mar 17, 2022, 09:52 AMYes, you can create your own masterlist. For that you may need the following things.
1. A website running which collect the data of servers.
2. You must have announce plugin edited so that the plugin sends the server data to your website, instead of official one.
3. If you have 5 servers, this edited announce plugin must be used on all these 5 servers.
4. In the client, you have to change the masterlist url to your website url/ip address.
Then go to internet tab, boom! You see your 5 servers name there.
Quote from: . on Mar 17, 2022, 10:25 AMhttps://forum.vc-mp.org/?topic=1168.msg7817#msg7817
thanks :)
Title: Re: how can i create my own Masterlist
Post by: Eirone on Mar 17, 2022, 06:40 PM
Quote from: habi on Mar 17, 2022, 09:52 AMYes, you can create your own masterlist. For that you may need the following things.
1. A website running which collect the data of servers.
2. You must have announce plugin edited so that the plugin sends the server data to your website, instead of official one.
3. If you have 5 servers, this edited announce plugin must be used on all these 5 servers.
4. In the client, you have to change the masterlist url to your website url/ip address.
Then go to internet tab, boom! You see your 5 servers name there.

How can I do step 2, where can I find the source code?
Title: Re: how can i create my own Masterlist
Post by: . on Mar 18, 2022, 11:46 AM
Step 2 is not your concern. It's the job of the server owners to make that choice.

People will not use a unvalidated third-party plugin in their server.
Title: Re: how can i create my own Masterlist
Post by: habi on Mar 18, 2022, 11:57 AM
This enlighten me.
One way is
QuotePut http://master.thijn.ovh in your browser at Tools -> Options -> Masterlist URL

If you want your server to show up add the following to your server.cfg:
announce master.thijn.ovh

In the above example, 'master.thijn.ovh' is a website storing masterlist.

So without making our own plugin, you can use the announce plugin to do the work.
Thus, add "announce xyz" to server.cfg where xyz is the url/ip address of your website.
Do not forget to include plugin by modifying the line "plugins "
Title: Re: how can i create my own Masterlist
Post by: Eirone on Mar 19, 2022, 09:44 PM
so can you tell me the code?
Title: Re: how can i create my own Masterlist
Post by: habi on Mar 20, 2022, 12:12 AM
Quote from: . on Mar 17, 2022, 10:25 AMhttps://forum.vc-mp.org/?topic=1168.msg7817#msg7817
Try this php script.
Title: Re: how can i create my own Masterlist
Post by: Eirone on Mar 22, 2022, 05:26 PM
thanks bro