Ok so I have a Minecraft smp server and I want on my site to have a section with every player s base location
I came up with a working prototype but I am no master at html CSS etc so I need help
When there are few players it is easy to hardcode them in but when you have 40 50 players it becomes a pain in the backside and I want to know how to make this process automated
Here is what it looks like1
The list is 150 players long but here is a player model
<li>
<div class="entry">
<h1 class="namePlayer">x247Shufflingx</h1>
<span class="avatarmc">
<img src="https://minotar.net/avatar/x247Shufflingx/64">
</span>
<span class="coords">
<h1 class="detailsBase">
<details>
<summary>Coordinates</summary>
<p class="coords1">
Overworld Base : Not Available Yet | Nether Portal : Not Available Yet
</p>
</details>
</h1>
</span>
</div>
</li>
And css
<style>
.avatarmc, .coords {
vertical-align:middle;
display:table-cell;
}
.coords1{
margin: 0;
font-size: 19px;
}
.detailsBase {
margin-left: 15px;
font-size: 19px;
}
.namePlayer {
text-align: left;
margin:0;
font-size: 25px;
}
ol {
font-size:25px;
margin-left: 15px;
}
.numbers {
margin-top:75px;
}
</style>
Aucun commentaire:
Enregistrer un commentaire