After have speak with MinetestForFun admin , i have try to make a little panel for change skin of your character.
After 30 minute i have finish this :
I have make it by "Crappy" way ... i know ^^ because it's just a Proof of concept (this maybe can help)
Actual function :
- Login with password and user loaded from Auth.txt
- Change skin of Player (using player_textures by PilzAdam)
- Preview of your player
- Load a external Txt News
- Only full French (at the moment)
Actual version : 0.01v
For configure open config.php and edit it (english config exemple)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
<?php
/***********************************
MiniSite for MineTest
Dave Devil's - 2015
************************************/
if ( !defined ('SECURE_KEY') ) { exit(); }
if ( SECURE_KEY != $Cle_de_secu) { exit(); }
// Path + name to the Auth.txt
$Lien_Vers_Auth = "../../usr/minetest/world/lapin/auth.txt";
//Server Name
$Serveur_Name = "Minetest For Test";
// message form top of site
$Annonce_du_moment = "I'm a test message !";
// Link to news.txt
$Lien_des_News = "http://qbuissondebon.info/wp-content/uploads/news/news.txt";
/**************player_textures by PilzAdam ****************/
//Path to the texture of the player_textures mod
$Path_To_textureplayer = "../../usr/minetest/mods/player_textures/texture";
?>
If you are interest for i continue this website for make some other func and a better code , say it ;)