Minecraft cinema system seating reservation?

Tr
7

Hello it's me again. Namely, I would like to install a seat reservation in my cinema (Minecraft). Do you have any idea how this could work?

pr

How do you want to implement that? In a mod? Or plugin

pr

If you want to do that in a plugin I would think of a double array.
It works very easy:

Normal Arrays: Array [5] of nem int would be eg: [1] [0] [12] [99] [532]

Duplicate arrays: Array [3] [3] of nem int would be eg:

[12] [31] [13]
[13] [44] [51]
[12] [11] [84]

Quite simply, you take a double array of players or player names

and determine the size of the cinema with the array. Then when a player comes and chooses a seat then you just say

(Player wants seat Rheie 2 seat 5)

Array [2] [5] = "Player name" / Player

the seats not assigned are = zero

Tr

If it's in Vanilla. Because with plugins I do not know me. If that does not work in Vanilla then Mod.

pr

In Vanilla with Command Blocks?

So Roleplay helps, so that you play realistic with your friends as if it were life or with command blocks. But you need a very long time and only a few can. Not recommendable

Ro

Do you want tickets for every single seat?

Tr

Ne

Ro

Then you could build a ticket shop system with Redstone.

Prefix system? sp spleenPerch
Minecraft Station 2? Ti Tiffanybuffer