ItsTheSky / ItsTheSky/skript-storage
Creating new sections within an already existing list
- Dominant language
- Java
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
I am using SkStorage to store clan data, and so whenever someone creates a clan it will also add the data to the .yml file, however when I set values of (Ex: clanname.bankvault & clanname.owner) it will create
And this wouldn't be a problem if it would be able to obtain the data, but if I tried to set a variable to 'clanname.owner' it would return because the first clanname: does not have a .owner within
Example:
```
clanname:
clanname.bankvault
clanname:
clanname.owner
```

arg-2 being "clanname"
```
set value "%arg-2%.Owner" from "clandata" to player
set value "%arg-2%.Memberlist" from "clandata" to player's uuid
set value "%arg-2%.Bankvault" from "clandata" to 0
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The report centers on SkStorage values written to a YAML file; start by reproducing the shown duplicate clanname entries with the three set value commands. Check how clanname.Owner, Memberlist, and Bankvault are later read, and define done as those fields being available under one clanname section.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- yaml
- Domain
- backend, data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100