개인 자료란 (JE)

  서버 커뮤니티

Profile 마크충 대표칭호 없음

superlmjh 77ea6cae38a74f27885d3552323c9794

Profile

마인크래프트 1.12.2 상점 스크립트

2020.03.05 조회 수 10944 추천 수 0

제가 만든 상점 스크립트 입니다!


스크립트랑 몇가지 애드온을 사용하여 만들었습니다 (애드온은 아마도 skellet 일거에요)


간단하게 /상점s 를 하면 도움말이 뜨게 됩니다

/상점s 목록 - 상점 목록을 봅니다

/상점s 생성 <이름> <줄> - 상점을 생성 합니다

/상점s  열기 <이름> - 상점을 엽니다

/상점s  제거 <이름> - 상점을 제거 합니다

/상점s 라인 <이름> <줄> - 상점의 줄 수를 설정 합니다 (최대 6줄)

/상점s 편집 <이름> - 상점을 편집하는 gui를 열어 편집합니다.

/상점s 로그제거 <이름> 1 <플레이어>

/상점아이템 생성 <아이템이름>  <판매갯수> <판매가격> <구매갯수> <구매가격> - 상점에 넣을 아이템을 생성 합니다!

/상점아이템 목록 - 상점 아이템 목록을 봅니다

/상점아이템 제거 <아이템이름> 상점 아이템을 제거 합니다.

/상점 <이름> - 유저가 사용하는 명령어, 상점을 엽니다


제거 만든 상점은 아이템을 팔고 구매할 수 있는데 아이템을 팔 수 록 아이템을 팔때 내야하는 아이템 갯수가

1씩 증가하게 됩니다.  그래서 상점을 열게 되면 개별적으로 상점이 저장되어 나중에 편집을 다시 하시면

/상점s 로그제거 <이름> 1 <플레이어> 으로 초기화 해주셔야 적용이 됩니다

상점을 다 만드시고 여시면 좌클릭으로 판매 우클릭으로 구매를 하실 수 있습니다.

제가 만든건 "교환코인"이라는 화폐로 적용해놨습니다.


파일:

shop.sk 


부족한 글, 스크립트 이지만 봐주셔서 감사드립니다!


https://discord.gg/2gxSqWu - 마인크래프트 개발자 디스코드

25개의 댓글

shinddong
2020.03.07

1.14.4 는 click이라는 스크립트 구문이 안되것같은데 어떻게 해결해야할까요..?

 

마크충
2020.03.11
@shinddong

아 저는 1.12.2로 만든거라 그건 생각 못했네요 ㅠㅠ

 

ArainR
2020.05.02

 상점아이템 생성 해서 아이템 만든것을 상점s 생성 ~ 해서 만든 상점에 상점s 편집 해서 넣었는데 상점s 열기 ~ 해도 안에 안들어있고 상점  ~ 해도 상점안에 아이템이 안들어가있어요 어떻게 해야하나요?

우성090430
2020.05.05

[18:48:13 WARN]: [Skript] Possible name conflict of variables {SHOP::%arg-2%} and {SHOP::*} (there might be more conflicts). (shop.sk, line 32: if {SHOP::%arg-2%} is not set:')

[18:48:13 ERROR]: [Skript] Can't understand this condition/effect: open chest with {Sline::%arg-2%} rows named "&f&l[ &0&l%arg-2% &6&l상점 &f&l]" to player (shop.sk, line 37: open chest with {Sline::%arg-2%} rows named "&f&l[ &0&l%arg-2% &6&l상점 &f&l]" to player')

[18:48:13 ERROR]: [Skript] Can't understand this condition/effect: open chest with {Sline::%arg-2%} rows named "&f&l[ &0&l%arg-2% &6&l상점 &f&l]" to player (shop.sk, line 45: open chest with {Sline::%arg-2%} rows named "&f&l[ &0&l%arg-2% &6&l상점 &f&l]" to player')

[18:48:13 ERROR]: [Skript] Can't understand this condition/effect: open chest with {Sline::%arg-2%} rows named "&f&l[ &0&l%arg-2% &6&l편집 &f&l]" to player (shop.sk, line 98: open chest with {Sline::%arg-2%} rows named "&f&l[ &0&l%arg-2% &6&l편집 &f&l]" to player')

[18:48:13 ERROR]: [Skript] can't understand this condition: 'inventory name of player's current inventory contains "&6&l편집"' (shop.sk, line 117: if inventory name of player's current inventory contains "&6&l편집":')

[18:48:13 ERROR]: [Skript] can't understand this condition: 'inventory name of player's current inventory contains "&6&l상점"' (shop.sk, line 128: if inventory name of player's current inventory contains "&6&l상점":')

[18:48:13 ERROR]: [Skript] can't understand this condition: 'inventory name of player's current inventory contains "&6&l상점"' (shop.sk, line 177: if inventory name of player's current inventory contains "&6&l상점":')

[18:48:13 ERROR]: [Skript] Can't understand this condition/effect: open chest with 3 rows named "&f&l[ &6&l상점 &8&l메뉴 &f&l]" to player (shop.sk, line 225: open chest with 3 rows named "&f&l[ &6&l상점 &8&l메뉴 &f&l]" to player')

[18:48:13 WARN]: [Skript] Possible name conflict of variables {SHOP::%arg-1%} and {SHOP::*} (there might be more conflicts). (shop.sk, line 257: if {SHOP::%arg-1%} is not set:')

[18:48:13 ERROR]: [Skript] Can't understand this condition/effect: open chest with {Sline::%arg-1%} rows named "&f&l[ &0&l%arg-1% &6&l상점 &f&l]" to player (shop.sk, line 262: open chest with {Sline::%arg-1%} rows named "&f&l[ &0&l%arg-1% &6&l상점 &f&l]" to player')

[18:48:13 ERROR]: [Skript] Can't understand this condition/effect: open chest with {Sline::%arg-1%} rows named "&f&l[ &0&l%arg-1% &6&l상점 &f&l]" to player (shop.sk, line 270: open chest with {Sline::%arg-1%} rows named "&f&l[ &0&l%arg-1% &6&l상점 &f&l]" to player'

 

 

이런 애러가 납니다

마크충
2020.05.06
@우성090430

버전 몇이시죠?

 

yorha
2020.05.08
@마크충

저는 마크 1.12.2 버전인데 저 분이랑 똑같은 에러가 발생했습니다.

마크충
2020.05.09
@yorha

저게 필요 애드온이 없어서 그런 거일겁니다 SKquery, Skellet, skyrayfall, skutilities 애드온이 설치 되어있으신지 봐주세요!

우성090430
2020.05.15
@마크충

설치 되있네요

마크충
2020.05.15
@우성090430

음... 애드온이 다 있어도 안된다는건... 더이상은 잘 모르겠네요...

uiopoiuy
2020.05.10

/상점 명령어 쓰면 뜨는거 사용 불가 하나요 ?

uiopoiuy
2020.05.10
@uiopoiuy

생성한 상점도 제거가 안되네요

마크충
2020.05.10
@uiopoiuy

흠 이게 너무 제가 원하는데로 만든거라 잘 안되실수도 있어요

비요
2020.05.24

화폐를 다른걸로 바꿀 수 있나요?

mchang
2020.05.24

와 감사감사 감사합니다

조성원2005
2020.06.03

상점이 안열리는데요..?

그리고 아무런 반응이 없어요...

mchang
2020.06.03
@조성원2005

에드온 쓰신 거 맞아요...?

조성원2005
2020.06.03
@mchang

에드온을 어디서 받을수 있죠...?

NM
2020.07.31

교환 코인은 어디서 얻나요?

NM
2020.07.31

이거 오류가 뜨는디 수정버전을 만드셔야 할것같은디;;1.12.2맞고 에드온 다다운 받았어요 버전도 맞고 그럼에도 교환코인으로 사도 NONE이라면서 없는 아이템인것처럼 인식을 하네요;;

뉴스 및 창작물
/files/thumbnails/115/774/003/262x150.crop.jpg?20240424234825

업데이트

마인크래프트 1.20.5 정식 업데이트

학교가기싫다

2024-04-24

0

/files/thumbnails/762/770/003/262x150.crop.jpg?20240418073724

레드스톤

T.B.H (고민중독) | 노트블럭 버전 | NoteBlock Cover [한국어 영어 중국어 가사 추가]

노트블럭전문가

2024-04-18

0

/files/thumbnails/218/767/003/262x150.crop.jpg?20240412130213

레드스톤

우리의 꿈 - 원피스 오프닝

노트블럭전문가

2024-04-12

0

/files/thumbnails/505/766/003/262x150.crop.jpg?20240411122306

레드스톤

기동전사 건담 수성의 마녀 | 노트블럭 커버 1

노트블럭전문가

2024-04-11

1

/files/thumbnails/932/765/003/262x150.crop.jpg?20240410124459

레드스톤

마인크래프트 노트블록으로 만든 『 밤양갱 (Bam Yang Gang) 』

노트블럭전문가

2024-04-10

0