Hello everyone,
I have crafted a little plugin, which is probably mostly efficient on RPG Servers. The GPS Database is a google spreadsheet, which holds info about the TMX id of a map and the corresponding Youtube video ID.
The plugin gives the /gps chat command, which gives - if available - the GPS link for the current track.
In order to prevent trolling I only grant access to sheet for trustful people.
Get the plugin here: https://github.com/malun22/GPSDatabase/ or here: https://plugins.xaseco.org/info.php?id=169
Greetings Malun
Updated 03.04.2020
[XASECO] Plugin: GPS Database
[XASECO] Plugin: GPS Database
Last edited by malun22 on 03 Apr 2020 12:42, edited 5 times in total.
-
- sunday driver
- Posts: 55
- Joined: 31 Mar 2013 15:13
- Owned TM-games: TMU TMUF
Re: [XASECO] Plugin: GPS Database
Interesting malun22
Nice idea
Just add it inside plugins.xml?
Thanks 
Nice idea

Just add it inside plugins.xml?
Code: Select all
<plugin>chat.gpsdatabase.php</plugin>

Re: [XASECO] Plugin: GPS Database
Yes, install it like every other plugin. Download the php and put the code you already mentioned into the plugins.xml.
Re: [XASECO] Plugin: GPS Database
I decided to upload an updated version.
Re: [XASECO] Plugin: GPS Database
What is the version number of the new release, and what changes/fixes does it contain?
This info would be helpful for the repository (I guessed the initial release was v1.0).
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
Re: [XASECO] Plugin: GPS Database
Sure.
In the previous version the database was requested at each use of the command. In this version the point of requesting the data changed to on every new track to reduce the amount of curl requests.
Which brings me to the next point. Fetching the data now happens with a curl function instad of a fopen function because a lot of host providers disabled the php_openssl.dll in the php.ini by default. Not to worry about anymore.
Also please make sure to use the latest version I just uploaded to get access to /gps update. The command can be used by admins to reinitiate the process of receiving the GPS Link. I also fixed a mistake in yesterdays version.
In the previous version the database was requested at each use of the command. In this version the point of requesting the data changed to on every new track to reduce the amount of curl requests.
Which brings me to the next point. Fetching the data now happens with a curl function instad of a fopen function because a lot of host providers disabled the php_openssl.dll in the php.ini by default. Not to worry about anymore.
Also please make sure to use the latest version I just uploaded to get access to /gps update. The command can be used by admins to reinitiate the process of receiving the GPS Link. I also fixed a mistake in yesterdays version.
Re: [XASECO] Plugin: GPS Database
A version number is still missing, I guessed v1.1.
Thanks. These are a little verbose, I used excerpts for a bullet-wise change log.malun22 wrote: ↑03 Apr 2020 11:48 In the previous version the database was requested at each use of the command. In this version the point of requesting the data changed to on every new track to reduce the amount of curl requests.
Which brings me to the next point. Fetching the data now happens with a curl function instad of a fopen function because a lot of host providers disabled the php_openssl.dll in the php.ini by default. Not to worry about anymore.
I did. You may want to update the date in the initial post, then.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
Re: [XASECO] Plugin: GPS Database
Yes. 1.1 should be fine. Also edited the date.
Thank you!
Thank you!
