[Mod] Simple Skins [0.4] [simple_skins]

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

[Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Thu Apr 17, 2014 16:33

Simple Skins is a mod that's so easy to use you'll wonder why it hasn't been done before...

Based on Zeg9's Skins mod and with some help from PilzAdam...

Download is at the bottom of this post.

Dependencies: can use Inventory Plus or Inventory ++ but not required: https://forum.minetest.net/viewtopic.php?id=6204
License: MIT

Image

To add NEW skins download your Minecraft skin into the textures folder and name it accordingly e.g "character_31.png" or "character_32.png" (whichever is the next number available)... also... pop into the meta directory and make a new "character_31.txt" file with this text inside it:

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
name = "Your Skin Name",
author = "Your nick or name here",


Source: https://github.com/tenplus1/simple_skins
+ Changelog
Attachments
simple_skins(0.4).zip
(57.16 KiB) Downloaded 909 times
Last edited by TenPlus1 on Fri Aug 19, 2016 18:44, edited 12 times in total.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

by Krock » Thu Apr 17, 2014 16:39

How about grabbing all skins from the skins database?
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Thu Apr 17, 2014 16:40

Krock wrote:How about grabbing all skins from the skins database?


That defeats the purpose of being easy to use.
 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

by addi » Thu Apr 17, 2014 17:21

that would maybe work good with the skindb driver mod because it does not need a 2d preview.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

by Krock » Thu Apr 17, 2014 17:54

addi wrote:that would maybe work good with the skindb driver mod because it does not need a 2d preview.

Uh, somehow I got a Dejà vu.. see 3 posts above.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

by addi » Fri Apr 18, 2014 07:46

Krock wrote:
addi wrote:that would maybe work good with the skindb driver mod because it does not need a 2d preview.

Uh, somehow I got a Dejà vu.. see 3 posts above.

Krock: hmm, but what about reading the skins from skin db? :-P XD

11: im just looked into the source and modified it a bit, so it does now highlight the actual skin in the list.
Attachments
simple_skins.zip
(58.9 KiB) Downloaded 222 times
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

by TenPlus1 » Fri Apr 18, 2014 09:19

Thanks addi for adding the selected skin highlight :)
 

ken
New member
 
Posts: 7
Joined: Tue May 13, 2014 03:37

Re: [Mod] Simple Skins [0.3] [simple_skins]

by ken » Thu Sep 18, 2014 06:19

When I set my skin, people see it fine. If I log out of the server, and then log back in, my skin is back to Sam.

In the menu, the skin I chose previously is still selected, but to other clients I look like normal Sam until I re-click the skin in the menu.

Is this normal?
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.3] [simple_skins]

by TenPlus1 » Thu Sep 18, 2014 07:18

Tested and cannot replicate the bug you mention, any skin selected remains after logging out of server and back in again... Which server are you connecting to ?
 

ken
New member
 
Posts: 7
Joined: Tue May 13, 2014 03:37

Re: [Mod] Simple Skins [0.3] [simple_skins]

by ken » Sun Sep 21, 2014 04:21

TenPlus1 wrote:Tested and cannot replicate the bug you mention, any skin selected remains after logging out of server and back in again... Which server are you connecting to ?


It is a private linux 0.4.10-dev server. After a little bit of testing, I think it must be a mod conflict. The server I'm having problems on is one that has many mods running. I created a vanilla server with only inventory++ and simple skins, and the mod worked just fine, no problems.

So, I'll need to do more testing to try and determine which other mod is causing the conflict.
 

Carmarenton
New member
 
Posts: 2
Joined: Wed Jan 28, 2015 07:08
IRC: Carmarenton
In-game: Carmarenton

Re: [Mod] Simple Skins [0.3] [simple_skins]

by Carmarenton » Wed Jan 28, 2015 07:11

Hey,

This is probably a bit of an odd question, but is there any way of restricting one skin to people with a certain privilege? I'm trying to make an admin skin. I only grant give to admins, for instance, is there any way of restricting a skin to people with give?

Thanks!

Carm
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.3] [simple_skins]

by TenPlus1 » Wed Jan 28, 2015 09:30

Carmarenton: Place the skin for admin inside the textures directory and name it character_901.png so that it will not appear in the list (the meta file is not needed for this), then during game type: /setskin <username> 901 to set their private skin and next time they sign on it will take effect...
 

Carmarenton
New member
 
Posts: 2
Joined: Wed Jan 28, 2015 07:08
IRC: Carmarenton
In-game: Carmarenton

Re: [Mod] Simple Skins [0.3] [simple_skins]

by Carmarenton » Wed Jan 28, 2015 17:32

TenPlus1 wrote:Carmarenton: Place the skin for admin inside the textures directory and name it character_901.png so that it will not appear in the list (the meta file is not needed for this), then during game type: /setskin <username> 901 to set their private skin and next time they sign on it will take effect...

/setskin isn't working for me o,O Nothing at all happens when I execute the command.

EDIT: Me idiot. Me no read your full message about NEXT TIME THEY SIGN ON. Sorry! It worked :D
 

erwin.maximilian
New member
 
Posts: 6
Joined: Sat Mar 07, 2015 10:53
GitHub: erwin8086

Re: [Mod] Simple Skins [0.3] [simple_skins]

by erwin.maximilian » Sat Mar 07, 2015 11:43

Here is as simple patch to use unified inventory.
unzip with gunzip <file.gz> and apply with path -i <file>
Attachments
simple_skin-unified_invetory.patch.gz
(866 Bytes) Downloaded 164 times
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Mod] Simple Skins [0.3] [simple_skins]

by Minetestforfun » Wed Apr 01, 2015 22:52

erwin.maximilian wrote:Here is as simple patch to use unified inventory.
unzip with gunzip <file.gz> and apply with path -i <file>


Hi, im interresting with this mod because i want to add players skins the more simple way possible.

This mod works with unified inventory and u_skins ? This patch allow this ? If yes, maybe merge this on master github branch can be a good idea ?
 

Gerald
Member
 
Posts: 47
Joined: Sun Dec 28, 2014 10:35
In-game: gerald7

Re: [Mod] Simple Skins [0.3] [simple_skins]

by Gerald » Mon Apr 06, 2015 14:05

You said the mod depends on Inventory Plus or Inventory ++.
But there is a command to change skins.
Do you really need the inventory?
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.3] [simple_skins]

by TenPlus1 » Mon Apr 06, 2015 14:24

The mod needs inventory_plus mod installed to run, even with command in place...
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Mod] Simple Skins [0.3] [simple_skins]

by Minetestforfun » Sat Apr 11, 2015 12:42

I tried "simple_skins" with "u_skins" with and without the "erwin.maximilian => simple_skin-unified_invetory.patch.gz" but it doesn't work at all...

Somebody has already coded a compatibility code ? or a merged mod of this two mods ? or maybe can code it ?

In my server we need both mods because "u_skins" is a pretty good skin database but, it's a very bad mod if you want to add skins from players creation, the "u_skins" mod need many precautions and modifications to make this possible... (it's long and not very made for that, i supposed)
While, the "simple_skins" mod is just perfect for this weak point of "u_skins", with this mod we can easily add mods from players creation without touch the "u_skins" mod wich means we can update the "u_skins" without fear :)

"u_skins" mod link : viewtopic.php?t=9807
"simple_skins" mod link : viewtopic.php?f=11&t=9100

Thank you in advance for your answers !
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.3] [simple_skins]

by TenPlus1 » Sun Jul 05, 2015 12:35

Server admin can now change a players skin by using this command:

/setskin <player> <skin number>

... personal skins can be used as well, simply number the personal skins from 900 and above so that they do not appear on the list and use the above command to set a players private skin.

/setskin TenPlus1 901
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [Mod] Simple Skins [0.3] [simple_skins]

by amadin » Thu Jul 23, 2015 04:40

Then i press button "skins" in inventory ++ i see only list of skins, but i don't see skins preview on a player, does this normal? If it'i normal, may after presing button "skins" camera will switch to a third-person (F7) for preview?
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.3] [simple_skins]

by TenPlus1 » Thu Jul 23, 2015 19:36

That's right, Simple Skins is only a list of skins with name and author information displayed when a skin is selected... To view the skin press F7 to see yourself and then change skin :)
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [Mod] Simple Skins [0.3] [simple_skins]

by amadin » Fri Jul 24, 2015 07:04

TenPlus1 wrote:That's right, Simple Skins is only a list of skins with name and author information displayed when a skin is selected... To view the skin press F7 to see yourself and then change skin :)

Does mods can make camera view from a third-person? I mean then i press buton "skins" camera view will change to a third-person and i will see skins without press F7, then i will press button "back" or "esc" camera view will change to firs-person view. Many players play on tablets and smartphones and they not have F7 button.
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.3] [simple_skins]

by TenPlus1 » Fri Jul 24, 2015 07:21

Sadly no it doesn't change the camera view of the player while selecting the skin... I did try but it was so buggy that I left it out...
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [Mod] Simple Skins [0.3] [simple_skins]

by amadin » Fri Jul 24, 2015 10:59

Then it may be wiser to add generating script from the zeg9's skins and add the option to turn on/off display generated skins in game, that is, if the server owner wants then he can generate pictures, if he not want then he uses a list of skins in the game without pictures, for me it will be cool. I think if server owner can run start, stop and restart scripts, he can run script for picture generate.
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.3] [simple_skins]

by TenPlus1 » Fri Jul 24, 2015 11:11

If you want skin previews then you can install zeg's skins mod, my simple skins mod is meant to be light for server use and so that you do not have to generate previews with every new skin added...
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Thu Aug 13, 2015 09:50

Today's 0.4 release no longer requires Inventory Plus mod to work but will use it if available, instead the /skin command can be used to select your player texture :)

Also server admin can set custom skins by using the /setskin <player> <skin number> command. Note: custom skins are typically numbered 900 and above so the GUI does not see them for normal players to choose from...
 

User avatar
Samson1
Member
 
Posts: 92
Joined: Wed Apr 01, 2015 19:41
IRC: Samson1
In-game: Samson1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by Samson1 » Thu Aug 20, 2015 12:16

do you think you could make this mod compatible with this mod(http://forum.minetest.net/viewtopic.p...)?

It's just that I have had to re make the buttons to hide them, It would be so good if you could! Nice mod
MT name: Samson1

MC name: MoJo4000
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Thu Aug 20, 2015 12:33

samson1: the address you pasted doesnt lead anywhere, could you repost it...
 

User avatar
GunshipPenguin
Member
 
Posts: 94
Joined: Tue Jan 28, 2014 00:38
GitHub: GunshipPenguin
IRC: GunshipPenguin
In-game: GunshipPenguin

Re: [Mod] Simple Skins [0.4] [simple_skins]

by GunshipPenguin » Sun Aug 23, 2015 19:35

I believe I've found a crash bug.

To replicate, use the /skin command to open the skin selection formspec then hold down either the up arrow or down arrow key to quickly move through all the available skins. The game crashes for me with this output.

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
2015-08-23 12:29:17: ACTION[main]:         .__               __                   __   
2015-08-23 12:29:17: ACTION[main]:   _____ |__| ____   _____/  |_  ____   _______/  |_
2015-08-23 12:29:17: ACTION[main]:  /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
2015-08-23 12:29:17: ACTION[main]: |  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  | 
2015-08-23 12:29:17: ACTION[main]: |__|_|  /__|___|  /\___  >__|  \___  >____  > |__| 
2015-08-23 12:29:17: ACTION[main]:       \/        \/     \/          \/     \/       
2015-08-23 12:29:17: ACTION[main]: World at [/home/rhys/Desktop/minetest-0.4.13/bin/../worlds/asdfewf]
2015-08-23 12:29:17: ACTION[main]: Server for gameid="minetest" listening on 0.0.0.0:54598.
2015-08-23 12:29:18: ACTION[ServerThread]: singleplayer [127.0.0.1] joins game.
2015-08-23 12:29:18: ACTION[ServerThread]: singleplayer joins game. List of players: singleplayer
2015-08-23 12:29:18: ACTION[main]: Irrlicht: Could not open file of texture: character.png
2015-08-23 12:29:18: ACTION[main]: Irrlicht: Could not open file of texture: character.png
2015-08-23 12:29:32: ERROR[main]: ServerError: Runtime error from mod 'simple_skins' in callback environment_Step(): ...esktop/minetest-0.4.13/bin/../mods/simple_skins/init.lua:118: attempt to concatenate a nil value
2015-08-23 12:29:32: ERROR[main]: stack traceback:
2015-08-23 12:29:32: ERROR[main]:       ...esktop/minetest-0.4.13/bin/../mods/simple_skins/init.lua:118: in function 'update_player_skin'
2015-08-23 12:29:32: ERROR[main]:       ...esktop/minetest-0.4.13/bin/../mods/simple_skins/init.lua:167: in function 'func'
2015-08-23 12:29:32: ERROR[main]:       ...hys/Desktop/minetest-0.4.13/bin/../builtin/game/misc.lua:18: in function 'update_timers'
2015-08-23 12:29:32: ERROR[main]:       ...hys/Desktop/minetest-0.4.13/bin/../builtin/game/misc.lua:50: in function <...hys/Desktop/minetest-0.4.13/bin/../builtin/game/misc.lua:38>
2015-08-23 12:29:32: ERROR[main]:       ...Desktop/minetest-0.4.13/bin/../builtin/game/register.lua:355: in function <...Desktop/minetest-0.4.13/bin/../builtin/game/register.lua:335>
2015-08-23 12:29:32: ACTION[ServerThread]: singleplayer leaves game. List of players:


I was using minetest 0.4.13 stable and the 0.4.13 tag of minetest_game. No other mods besides simple_skins and the ones in minetest_game were installed when this bug occurred.
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Simple Skins [0.4] [simple_skins]

by TenPlus1 » Mon Aug 24, 2015 07:30

GunshipPenguin: Bug has been fixed :) thanks for reporting it...
 

Next

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 29 guests

cron